interface for sending emails