Hi All,
I am setting up some automations in JIRA when an issue is progressed through its workflow.
Whenever an issure is transitioned to status PO Input I want the issue to be assigned to one of the POs from the PO group and then send them an email with some text. This is what the rule looks like:

When an issue is transitioned, I get this error: Could not send email, the 'To' address field is empty. If you have referenced a field it may be empty. The user who is assigned the issue is me and my profile does have an email address. I get a feeling that the rule progresses the actioned in reverse: first it tries to send the email and them assign the issue to me.
I would greatly appreciate if someone points me to what I am doing wrong.
Thank you