Skip to content

电子邮件触发器 (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)#

  • 接收电子邮件

节点参数(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 字段中。它不使用 payload 字段。
  • 已解决:此格式返回完整的电子邮件,所有数据都已解析,附件已保存为二进制数据。
  • 简单:此格式会返回完整的电子邮件。如果你想获取内联附件,请不要使用此格式。

节点选项(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)#

Template widget placeholder.