New Emailer code added