电子邮件触发器 (IMAP) 节点#
¥Email Trigger (IMAP) node
使用 IMAP 电子邮件节点通过 IMAP 邮件服务器接收电子邮件。此节点是一个触发节点。
¥Use the IMAP Email node to receive emails using an IMAP email server. This node is a trigger node.
操作#
¥Operations
- 接收电子邮件
¥Receive an email
节点参数#
¥Node parameters
使用以下参数配置节点。
¥Configure the node using the following parameters.
用于连接的凭据#
¥Credential to connect with
选择或创建一个用于连接服务器的 IMAP 凭据。
¥Select or create an IMAP credential to connect to the server with.
邮箱名称#
¥Mailbox Name
输入接收邮件的邮箱地址。
¥Enter the mailbox from which you want to receive emails.
操作#
¥Action
选择是否在 n8n 收到邮件时将其标记为已读。不会将邮件标记为未读。“标记为已读”会将其标记为已读。
¥Choose whether you want an email marked as read when n8n receives it. None will leave it marked unread. Mark as Read will mark it as read.
下载附件#
¥Download Attachments
此开关控制是否下载电子邮件附件(开启)或不下载(关闭)。仅在必要时设置此项,因为它会增加处理量。
¥This toggle controls whether to download email attachments (turned on) or not (turned off). Only set this if necessary, since it increases processing.
格式#
¥Format
请从以下选项中选择返回消息的格式:
¥Choose the format to return the message in from these options:
- RAW:此格式以 base64url 编码字符串的形式返回包含原始字段正文内容的完整电子邮件数据。它不使用有效负载字段。
¥RAW: This format returns the full email message data with body content in the raw field as a base64url encoded string. It doesn't use the payload field.
- 已解决:此格式返回已解析所有数据并将附件保存为二进制数据的完整电子邮件。
¥Resolved: This format returns the full email with all data resolved and attachments saved as binary data.
- 简单:此格式返回完整的电子邮件。如果你想要收集内联附件,请勿使用句点。
¥Simple: This format returns the full email. Don't use it if you want to gather inline attachments.
节点选项#
¥Node options
你可以使用以下选项进一步配置节点。
¥You can further configure the node using these Options.
自定义电子邮件规则#
¥Custom Email Rules
输入自定义电子邮件获取规则,以确定节点获取哪些电子邮件。
¥Enter custom email fetching rules to determine which emails the node fetches.
有关更多信息,请参阅 node-imap 的搜索功能条件。
¥Refer to node-imap's search function criteria for more information.
强制每分钟重新连接#
¥Force Reconnect Every Minutes
设置强制重新连接的间隔时间(以分钟为单位)。
¥Set an interval in minutes to force reconnection.
模板和示例#
¥Templates and examples