move "email" out of views and into its own object and file.

also move email tests into their own file.  update views to use the new IncomingEmail object.
remove postgresdao tests from dao because now all postgres stuff is done through sqlalchemy