Added mailer test cases

Yay, testing works! I found a bug a fixed it in this commit (ie. adding
email column to mailer)