Adds support for sending emails