Definition and Usage
Fill in your email account and log in to your mailbox. This command allows you to authenticate and establish a connection to various email service providers using your credentials, enabling subsequent email operations such as sending or receiving messages.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
Email service provider | Select your email service provider | QQ Email, 163 Email, 126 Email, Tencent enterprise email, Netease enterprise email, Outlook, Gmail, Custom | Yes | Selecting "Custom" allows you to specify server details manually |
Username | Enter the username of the email account to access |
| Yes | Typically your full email address |
Password/Auth. | Enter your email password and authorization code |
| Yes | Some providers use separate authentication codes for email clients |
Mail protocol | Select email protocol(s) to support | IMAP/SMTP, SMTP (Outgoing Only), IMAP | Yes | Choose based on your email requirements |
SMTP server | Enter the specified SMTP server address |
| Yes* | Required when using SMTP protocol |
SMTP port | Enter the specified SMTP port |
| Yes* | Required when using SMTP protocol |
IMAP server | Enter the specified IMAP server address |
| Yes* | Required when using IMAP protocol |
IMAP port | Enter the specified IMAP port |
| Yes* | Required when using IMAP protocol |
Enable SSL | Choose whether to use a secure connection to communicate with the mailbox |
| No | Recommended for security |
*Required when using Custom email service provider or specific protocols
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This action produces a variable that stores the logged-in email object in a new variable. This variable can be used in subsequent email-related actions.
Using Variables in Conditions
You can use variables (indicated by {x} icon) in fields such as Username and Password to dynamically provide login credentials. This is useful when credentials are stored in variables or retrieved from other sources during workflow execution.
Notes
Before using this command, ensure you have the correct credentials for your email account.
For Gmail and some other providers, you may need to enable "Less secure app access" or generate an app-specific password.
If using custom email provider, you must know the correct server addresses and port numbers.
The "Enable SSL" option is recommended for secure communication with email servers.
Some email providers may require additional security verification when logging in from new devices or applications.