Refactor outbox
Refactor account service
WIP: refactor email service