Requires the iMessage agent to be connected.
Set Up the Automation
Create the trigger
Type: “Create an email automation: when I receive an email with a verification code, OTP, or two-factor authentication code, send me the code on iMessage immediately.”
How It Works
- Verification code email arrives
- Trigger fires within seconds
- Agent extracts the code (not the full email)
- You receive an iMessage: “Your verification code from GitHub: 847291”
What Gets Detected
- Numeric codes (4-8 digits) and alphanumeric codes
- Magic links with embedded tokens
- Codes in subject lines or email body
- Codes from banks, SaaS apps, social platforms, developer tools
Customize the Trigger
- Reduce False Positives
- Catch More Codes
- “Only forward codes with ‘verification’ or ‘security code’ in the subject”
- “Don’t forward marketing emails that contain numbers”
Troubleshooting
| Problem | Fix |
|---|---|
| Code not forwarded | Check that iMessage agent is active (send it a text). Verify automation is enabled in Settings > Automations. |
| Code arrives too late | Typically 3-10 seconds. Check email sync if delays persist. |
| Wrong emails forwarded | Narrow the trigger: “Update my OTP automation to only match emails with a numeric code and ‘verification’ in the subject.” |
| iMessage agent not responding | Send a text to reactivate. See iMessage setup. |
iMessage Agent Setup
Connect your phone for agent access.
10 Automations
Essential automations every user should set up.