wait_for_email
Wait for an email to arrive in a ZeroDrop inbox and retrieve it with OTP and magic link pre-extracted. Use after triggering signup, login, or password-reset flows.
Instructions
Wait for an email to arrive in a ZeroDrop inbox and return it with the OTP and magic link already extracted — no parsing needed. Blocks until an email matching the filters arrives or the timeout is reached. Use after triggering a signup, login, or password-reset flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox | Yes | The inbox address (or name) returned by generate_inbox | |
| require_otp | No | Only match emails with an extracted OTP code | |
| from_contains | No | Only match emails whose sender contains this text | |
| timeout_seconds | No | How long to wait before giving up (default 30, max 120) | |
| subject_contains | No | Only match emails whose subject contains this text | |
| require_magic_link | No | Only match emails with an extracted magic link |