Email Submission based on conditional logic