So you gotta setup a API workflow in your Backend Workflows section, and then yes, you can run that action on the API workflow for your emails. Let me know if you need a better example