src/email: Add ability for modules to send outgoing emails