Prioritization of mails for password and mail address change
Description
We get a lot of support requests, that the mail for password change or mail address change does not arrive.
It turns out later that it simply arrives later through our queue.
Some users repeat the process a short time later. But by this the token of the 1st mail becomes invalid. At some point the 1st mail arrives and the users get an error message because the token has become invalid.
Goal
This kind of mails should be sent out first (with high priority) before all other mails.
Evidence
If a user can no longer access his or her account, it is possible that he or she forgets to pick up items. It also generates many support requests.
Solution
Do not place this type of mail at the end of the Redis queue as is currently the case, but at the beginning. Additionally you could increase the duration of the token.
Links / references
https://yunity.slack.com/archives/C1T1ZM9A4/p1589996147002300