Menu

Common Scenario 3: Retrieving Verification Codes from Email

Fetching emails from a mailbox requires that the mailbox supports the corresponding protocol. In RPA, there are two ways to retrieve emails: using a mailbox with IMAP/POP3 enabled, or using a mailbox with OAuth2.

IMAP / POP3

When retrieving emails, fill in the required parameters. If no filter conditions are specified, the latest email will be retrieved by default. Extraction rules can be applied directly when fetching the email, or you can save the email to a variable and then extract content using text extraction.

After running, the logs will show the retrieved email content.

OAuth2

For both methods, aside from different login parameters, the matching options are basically the same. The example below shows extracting a verification code directly when fetching the email.

After running, the logs will display the extracted code.

Previous
Common Scenario 2: Fetching Dynamic Parameters via Network Request
Next
What's New
Last modified: 2026-01-05Powered by