fixed bug in processing template mails
added basic docs on template form letters