added suport of external email template files, quick send almost fully working
did more tweaking with the mailer script sending and logging