added code for mailers