An small API for sending emails