emailer code

emailer code