app/soc/logic/mail_dispatcher.py
changeset 1548 15caebd3304d
parent 1545 ce5d37a38091
child 1550 a872030dc3ca
--- a/app/soc/logic/mail_dispatcher.py	Sat Feb 28 00:09:34 2009 +0000
+++ b/app/soc/logic/mail_dispatcher.py	Sat Feb 28 00:10:07 2009 +0000
@@ -68,6 +68,7 @@
 
 from google.appengine.api import mail
 
+from soc.logic import accounts
 from soc.logic import dicts
 
 
@@ -145,4 +146,4 @@
     logging.warning('Non-Authenticated user triggered getDefaultMailSender')
     return None
 
-  return account_entity.email()
+  return accounts.denormalizeAccount(account_entity).email()