@asecaz/n8n-nodes-emailbox-credential-extractor
v1.0.4
Published
Custom n8n node for extracting mailbox credentials from Custom Auth credentials. Protocol-agnostic, supports IMAP, SMTP, POP.
Maintainers
Readme
n8n eMailbox Credential Extractor
A protocol-agnostic Custom n8n node for extracting mailbox credentials from Custom Auth credentials.
Features
✨ Protocol-Agnostic: Works with IMAP, SMTP, POP, or any mail protocol 🔐 Secure: Reads credentials from n8n's encrypted credential store 🔄 Reusable: Single credential can be used for multiple mailboxes 📦 Flexible: Node parameters for host, port, and mailbox name ⚡ Simple: Just pass credentials through, get structured data out
Installation
Via n8n UI (Recommended)
- Go to Credentials → New Credential Type
- Search for:
eMailbox Credential Extractor - Install the package
Manual Installation (npm)
npm install @asecaz/n8n-nodes-emailbox-credential-extractorThen restart your n8n instance.
Usage
Setup Custom Auth Credential
- Create a new Custom Auth credential
- Add these fields to the JSON:
{
"user": "[email protected]",
"password": "your-password"
}Use the Node in Workflow
- Add node: eMailbox Credential Extractor
- Select your Custom Auth credential
- Fill in parameters:
- Host:
imap.example.com(or your mail server) - Port:
993(or appropriate port) - Mailbox:
INBOX(or folder name)
- Host:
Output
The node returns an object with:
{
"user": "[email protected]",
"password": "your-password",
"host": "imap.example.com",
"port": 993,
"mailbox": "INBOX"
}Use this output in subsequent nodes (e.g., IMAP, SMTP operations).
Node Parameters
| Parameter | Type | Required | Default | Description |
|------------|-------------|----------|---------|-------------------------------------------|
| Credential | Credentials | ✅ | - | Custom Auth credential with user/password |
| Host | String | ✅ | - | Mail server hostname (IMAP/SMTP/POP) |
| Port | Number | ✅ | 993 | Server port (993=IMAPS, 587=SMTP, 995=POP3S) |
| Mailbox | String | ✅ | INBOX | Mailbox/folder name to access |
Supported Protocols
- IMAP/IMAPS (Port 993)
- SMTP/SMTPS (Port 587, 25, 465)
- POP3/POP3S (Port 110, 995)
- Custom protocols with custom ports
