跳到正文
所有工具

proton_list_emails

Proton Mail · macOS · Windows

效果: 读取. 状态: 受限可用.

“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。

macOS

用途

列出 Proton Mail 账户某个文件夹中最新的邮件,最新的在前:id、发件人、收件人、主题、日期、大小和标志。`folder` 默认为 INBOX;其他文件夹由 Bridge 命名(Sent、Archive、All Mail、Folders/…、Labels/…)。用 limit 和 offset 分页。不会将任何邮件标记为已读。数据读取自这台电脑上的 Proton Mail Bridge;需要包含 Bridge 的 Proton 套餐,且 Bridge 正在运行。

必填输入

此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构 — macOS
{
  "properties": {
    "account": {
      "description": "The Proton Mail account: its address, as proton_connect lists it. Optional when one account is connected.",
      "type": "string"
    },
    "folder": {
      "description": "Folder name (default INBOX).",
      "type": "string"
    },
    "limit": {
      "description": "Messages per page (default 50, max 200).",
      "type": "integer"
    },
    "offset": {
      "description": "Messages to skip (default 0).",
      "type": "integer"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

proton_list_emails 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "account": "alex@example.com",
  "folder": "INBOX",
  "limit": 20
}

Windows

用途

列出 Proton Mail 账户某个文件夹中最新的邮件,最新的在前:id、发件人、收件人、主题、日期、大小和标志。`folder` 默认为 INBOX;其他文件夹由 Bridge 命名(Sent、Archive、All Mail、Folders/…、Labels/…)。用 limit 和 offset 分页。不会将任何邮件标记为已读。数据读取自这台电脑上的 Proton Mail Bridge;需要包含 Bridge 的 Proton 套餐,且 Bridge 正在运行。

必填输入

此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构 — Windows
{
  "properties": {
    "account": {
      "description": "The Proton Mail account: its address, as proton_connect lists it. Optional when one account is connected.",
      "type": "string"
    },
    "folder": {
      "description": "Folder name (default INBOX).",
      "type": "string"
    },
    "limit": {
      "description": "Messages per page (default 50, max 200).",
      "type": "integer"
    },
    "offset": {
      "description": "Messages to skip (default 0).",
      "type": "integer"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

proton_list_emails 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "account": "alex@example.com",
  "folder": "INBOX",
  "limit": 20
}