Remove database usage from mail package

Add tests of mail handling from the feed watcher
Refactor mail packge to use interfaces for sending mail.  Allows for easier testing setup