Overview
This node, named "MSIMap," provides professional IMAP email validation and mass checking functionalities. It supports three main operations:
- Login Check: Validates the credentials of an email account.
- Inbox Count: Retrieves inbox statistics such as the number of emails.
- Keyword Search: Searches emails within the inbox for a specific keyword.
A common use case is automating email account verification and monitoring tasks, such as confirming login credentials before processing or extracting emails containing certain keywords (e.g., invoices) for further automation workflows.
For example, you could use the Keyword Search operation to scan an email inbox for messages containing the word "invoice" and then trigger downstream processes like invoice extraction or notifications.
Properties
| Name | Meaning |
|---|---|
| The email address to validate or search within. | |
| Password | The password for the specified email account. |
| Keyword | The keyword to search for in emails (only applicable when using the Keyword Search operation). |
Output
The node outputs an array with one item per input item processed. Each output item contains a json object with the following fields:
operation: The operation performed (loginCheck,inboxCount, orkeywordSearch).email: The email address used for the operation.- Additional fields depending on the operation:
- For Login Check, the output includes the result of the login validation.
- For Inbox Count, the output includes inbox statistics.
- For Keyword Search, the output includes search results related to the keyword.
timestamp: ISO string timestamp indicating when the operation was performed.
If an error occurs during processing and the node is configured to continue on failure, the output will include an error field with the error message alongside the email and operation.
The node does not output binary data.
Dependencies
- This node depends on the external library
msimap-prowhich handles IMAP interactions such as login validation, inbox counting, and keyword searching. - Requires valid email credentials (email and password) to connect to the IMAP server.
- No explicit API keys or environment variables are mentioned, but proper email account access is necessary.
Troubleshooting
Common Issues:
- Invalid email or password will cause login failures.
- Network or IMAP server connectivity issues may prevent successful operations.
- Using the Keyword Search operation without specifying a keyword will cause errors.
Error Messages:
"Unknown operation: <operation>": Indicates an unsupported operation was selected; ensure the operation is one of the supported options.- Errors related to authentication failures typically mean incorrect email or password.
Resolutions:
- Verify email credentials are correct.
- Ensure network connectivity to the email server.
- Provide all required parameters, especially the keyword for keyword searches.
- Enable "Continue On Fail" if you want the workflow to proceed despite individual item errors.
Links and References
- IMAP Protocol Overview
- Email Automation Best Practices
- Documentation for the
msimap-prolibrary (if publicly available) would be helpful but is not linked here.