revamped email sending logic

though still attempting to send email successfully (could be GAE issue)