n8n-nodes-imap-ai
Version:
Simplified IMAP node for n8n with AI-agent support. Clean and modular email and mailbox management for automation workflows.
55 lines • 1.74 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ImapCredentials = exports.IMAP_CREDENTIALS_NAME = void 0;
exports.IMAP_CREDENTIALS_NAME = 'imapApi';
class ImapCredentials {
constructor() {
this.name = exports.IMAP_CREDENTIALS_NAME;
this.displayName = 'IMAP Credentials';
this.properties = [
{
displayName: 'User',
name: 'user',
type: 'string',
default: '',
placeholder: 'Username',
},
{
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: { password: true },
default: '',
},
{
displayName: 'Host',
name: 'host',
type: 'string',
default: '',
placeholder: 'imap.gmail.com',
},
{
displayName: 'Port',
name: 'port',
type: 'number',
default: 993,
description: 'Usually 993 for SSL and 143 for TLS',
},
{
displayName: 'SSL/TLS',
name: 'tls',
type: 'boolean',
default: true,
description: 'Whether to use SSL/TLS or not',
},
{
displayName: 'Allow Self-Signed Certificates',
name: 'allowUnauthorizedCerts',
type: 'boolean',
default: false,
},
];
}
}
exports.ImapCredentials = ImapCredentials;
//# sourceMappingURL=ImapCredentials.credentials.js.map