setting conditions for recipient email