email: add support for sending emails