How to wait for an email to arrive in an automated flow
Poll the inbox endpoint until status is ok. It returns pending_delivery until the message lands.
Run it
curl -s https://api.model.tools/api/v1/inbox/myinbox/latest_otp
Response
{"status":"pending_delivery","otp":null}