--- a/mail.py Thu Nov 14 17:17:02 2013 +0100 +++ b/mail.py Wed Nov 13 15:58:42 2013 +0100 @@ -90,7 +90,7 @@ email = u'' if uinfo.get('name'): name = uinfo['name'] - elif config and config['sender-addr']: + elif config and config['sender-name']: name = unicode(config['sender-name']) else: name = u''