the appengine part for sending emails