Send notification email conditionally.