first version of a mail interface for the public api - WIP

:construction: WIP

Result of explanation to @pellaeon how the public API works and the mail class doesn't have a public interface.

@pellaeon will work on that \o/ Thanks