Add email send logic, mac tokens, account recover flow and lots of other stuff