How do I add a record to a database and send an email notice of the transaction. I can do one or the other but haven’t figured how to do both and have the action transparant to the user.