got the emailer working