def add_welcome_mail_for_fresh_user(self):
     inbox = yield self._create_or_get('INBOX')
     if (yield inbox.fresh):
         mail = welcome_mail()
         yield inbox.add(mail)
 def add_welcome_mail_for_fresh_user(self):
     if self.inbox.fresh:
         mail = welcome_mail()
         self.inbox.add(mail)