adds mailer.js configuration

removes mailer from .gitignore and adds it to the repository