#NEWLINE# def send_mail( msg ) : #NEWLINE# #INDENT# logging . debug ( ( 'msg: %s' % email ) ) #NEWLINE# from google.appengine.api import mail #NEWLINE# email = mail . EmailMessage ( ) #NEWLINE# email . body = msg . body #NEWLINE# email . html = msg . html #NEWLINE# email . sender = msg . sender #NEWLINE# email . to = msg . recipients #NEWLINE# email . send ( )