Emails: conditional Logic not working