added emailer...
fixed bug in email header