added sending email for a new entry