Updated mailer module

Mailer module now handles basic flood checks. Also base DB file has been
updated