Putting some structure into the email integration.
Thinking of creating an integration plugin system so several other integrations can easily be added.