refactored all parts using request.user.messages_accounts to take shared messages accounts into account as well
woops, need to actually call this function
added some fault tolerance when parsing email headers
added some logging to email
Changed: decoupled emailclient and lily