added SMTP configuration settings to config module
implementation of SMTP based MTA
some mailer changes: try to send only 100 mails / interval, sleep after each interval
mailer factory function