Initial commit, sending basic mails works with dirty api