Initial API for email messenger.

Implementation needs to be completed and tested. No DSL yet.