Naar de inhoud
Alle hulpmiddelen

proton_send_email

Proton Mail · macOS · Windows

Effect: verzenden. Status: voorwaardelijk beschikbaar.

‘Voorwaardelijke beschikbaarheid’ betekent dat het hulpmiddel kan afhangen van versie, platform, machtigingen, account of configuratie. Het is niet in elke installatie actief.

macOS

Doel

Verstuurt een bericht in platte tekst vanaf een gekoppeld Proton Mail-adres, via Proton Mail Bridge op deze computer. De eerste aanroep geeft een voorbeeld terug met afzender, ontvangers, onderwerp en body, en maakt met niets verbinding; confirm=true verstuurt. Geen bijlagen. Vereist een Proton-abonnement met Bridge, waarbij Bridge actief is.

Vereiste invoer

De namen blijven exact zoals het hulpmiddel ze vereist. De canonieke technische definities in het Engels staan in het uitklapbare schema hieronder.

Machtigingen en bevestiging

Het schema bevat een expliciete bevestigingsparameter. Controleer het voorbeeld en autoriseer de echte bewerking volgens het platformcontract.

Canoniek technisch schema in het Engels — macOS
{
  "properties": {
    "account": {
      "description": "The Proton Mail account: its address, as proton_status lists it. Optional when one account is connected.",
      "type": "string"
    },
    "body": {
      "description": "Plain text.",
      "type": "string"
    },
    "cc": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ],
      "description": "Copy recipients, the same form as `to`."
    },
    "confirm": {
      "description": "Must be true to send. Without it the call returns a preview and sends nothing.",
      "type": "boolean"
    },
    "remember": {
      "description": "With confirm: true, also stop asking for this kind of action from now on. Only when the person said so (\"don't ask again\"). The person can revoke it in LMCP or with set_always_allowed.",
      "type": "boolean"
    },
    "subject": {
      "type": "string"
    },
    "to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ],
      "description": "Recipient address, or several (an array, or separated by commas)."
    }
  },
  "required": [
    "to",
    "subject",
    "body"
  ],
  "type": "object"
}

Documentatievoorbeeld

Documentatievoorbeeld voor proton_send_email. Voer dit voorbeeld niet uit. De getoonde argumenten verwijzen naar fictieve gegevens; zoek vóór een echte aanroep de werkelijke identificatoren op en vraag toestemming.

{
  "body": "Can we review the launch checklist on Tuesday?",
  "confirm": false,
  "subject": "Planning meeting",
  "to": "sam@example.com"
}

Windows

Doel

Verstuurt een bericht in platte tekst vanaf een gekoppeld Proton Mail-adres, via Proton Mail Bridge op deze computer. De eerste aanroep geeft een voorbeeld terug met afzender, ontvangers, onderwerp en body, en maakt met niets verbinding; confirm=true verstuurt. Geen bijlagen. Vereist een Proton-abonnement met Bridge, waarbij Bridge actief is.

Vereiste invoer

De namen blijven exact zoals het hulpmiddel ze vereist. De canonieke technische definities in het Engels staan in het uitklapbare schema hieronder.

Machtigingen en bevestiging

Het schema bevat een expliciete bevestigingsparameter. Controleer het voorbeeld en autoriseer de echte bewerking volgens het platformcontract.

Canoniek technisch schema in het Engels — Windows
{
  "properties": {
    "account": {
      "description": "The Proton Mail account: its address, as proton_status lists it. Optional when one account is connected.",
      "type": "string"
    },
    "body": {
      "description": "Plain text.",
      "type": "string"
    },
    "cc": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ],
      "description": "Copy recipients, the same form as `to`."
    },
    "confirm": {
      "description": "Must be true to send. Without it the call returns a preview and sends nothing.",
      "type": "boolean"
    },
    "remember": {
      "description": "With confirm=true, and only after the person said so: do this kind of action without asking from now on («don't ask me again»). The preview names the family.",
      "type": "boolean"
    },
    "subject": {
      "type": "string"
    },
    "to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ],
      "description": "Recipient address, or several (an array, or separated by commas)."
    }
  },
  "required": [
    "to",
    "subject",
    "body"
  ],
  "type": "object"
}

Documentatievoorbeeld

Documentatievoorbeeld voor proton_send_email. Voer dit voorbeeld niet uit. De getoonde argumenten verwijzen naar fictieve gegevens; zoek vóór een echte aanroep de werkelijke identificatoren op en vraag toestemming.

{
  "body": "Can we review the launch checklist on Tuesday?",
  "confirm": false,
  "subject": "Planning meeting",
  "to": "sam@example.com"
}