Update config.js

Allow configuration of mail by advice-type.
Update mailer.js

only send mail of the type declared in the config.mail.what array.
Merge pull request #62 from ItsLeeOwen/config-mail

Config email by type of advice