filter for sending emails