Imagine the following:
1. You submit some value to the DB
2. After that value is submitted, you need to do a POST to an email API
Your server could crash between steps 1 & 2, resulting in the email never being sent.
What is the common accepted solution here? The only thing I can think of is temporal.io, but many, many pieces of software have been built before temporal.io.