added email attribute to entry
adding action mailer