take into account user.notification setting in onboarding email

This commit is contained in:
Son NK 2020-02-04 14:36:43 +07:00
parent db651aa1ea
commit f5a2eb387b

View file

@ -37,6 +37,10 @@ def new_app():
def onboarding_1(user):
if not user.notification:
LOG.d("User %s disable notification setting", user)
return
send_email(
user.email,
f"Do you know you can send emails to anyone from your alias?",