added an autoemailer script