We are currently sending emails from the backend during page processing. While this approach works most of the time, this is not very robust nor scalable as any problem during email submission can slow down load time or make it timeout entirely. An example of such problem: #3066.
Idea
We can move email sending into a background task. It should be rather easy to do as we already have existing background tasks in src/Shell/Task/ one can get inspiration from.
We are currently sending emails from the backend during page processing. While this approach works most of the time, this is not very robust nor scalable as any problem during email submission can slow down load time or make it timeout entirely. An example of such problem: #3066.
Idea We can move email sending into a background task. It should be rather easy to do as we already have existing background tasks in
src/Shell/Task/
one can get inspiration from.