added mailer without use of transactions
added test for direct
mode is optional, default to transaction
Merge pull request #2 from nl5887/master

added mailer without use of transactions