def send_email_when_changes_email(old_email, new_email):
 send_email(to=old_email, action=USER_CHANGE_EMAIL, subject=MAILS[USER_CHANGE_EMAIL]['subject'], html=MAILS[USER_CHANGE_EMAIL]['message'].format(email=old_email, new_email=new_email))

def send_email_when_changes_email ( old_email , new_email ) : send_email ( to = old_email , action = USER_CHANGE_EMAIL , subject = MAILS [ USER_CHANGE_EMAIL ] [ 'subject' ] , html = MAILS [ USER_CHANGE_EMAIL ] [ 'message' ] . format ( email = old_email , new_email = new_email ) )
account confirmation .