Looking for some clarification on this. In the documentation, it's stated that steps 10 and 11 are:
10. Executes workflow rules.
11. If there are workflow field updates, updates the record again.
which suggests that "Executes workflow rules" means workflow actions, including email alerts, are taken at step 10, since step 11 is contingent on the evaluation of step 10.
However, the step after database commit is:
20. Executes post-commit logic, such as sending email.
Is an email alert that is an action of a workflow sent before or after database commit?