send_email
E-mail · macOS
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
Gebruik dit wanneer de gebruiker een e-mail wil verzenden vanuit een account dat in Apple Mail op de Mac is geconfigureerd. Stelt het bericht op en verzendt het via Mail.app; ondersteunt platte tekst of een HTML-body. Gebruik m365_send_email voor verzending vanuit een Microsoft 365-account dat NIET aan Mail.app is toegevoegd. Geef `from` door om vanaf een specifiek geconfigureerd Mail.app-account te verzenden in plaats van de standaardafzender. Geef `attachments` door als een door komma's gescheiden lijst met absolute bestandspaden om bestanden bij te voegen.
Vereiste invoer
tosubject
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.
- Gebruik uitsluitend de apps, accounts en bronnen waarvoor de gebruiker op dit platform toestemming heeft gegeven. Raadpleeg de platformspecifieke beschrijving van deze tool voor de verbindings- en toestemmingsvereisten; deze catalogus veronderstelt geen aanvullende OAuth-bereiken of OS-rechten.
Canoniek technisch schema in het Engels — macOS
{
"properties": {
"attachments": {
"description": "Files to attach, as comma-separated absolute paths (e.g. a PDF).",
"type": "string"
},
"bcc": {
"description": "BCC address(es), comma-separated.",
"type": "string"
},
"body": {
"description": "Plain-text body. Use this OR html_body; if both are given, html_body wins.",
"type": "string"
},
"cc": {
"description": "CC address(es), comma-separated.",
"type": "string"
},
"confirm": {
"default": "false",
"description": "Safety gate: the call only PREVIEWS (nothing is sent) unless confirm:true. Set true to actually send.",
"type": "boolean"
},
"from": {
"description": "Sender address — on a multi-account Mac, selects which configured Mail.app account sends. Omit to use Mail's default account.",
"type": "string"
},
"html_body": {
"description": "HTML body. Takes precedence over `body` when both are set.",
"type": "string"
},
"subject": {
"description": "Subject line.",
"type": "string"
},
"to": {
"description": "Recipient address(es), comma-separated for multiple.",
"type": "string"
}
},
"required": [
"to",
"subject"
],
"type": "object"
}Documentatievoorbeeld
Documentatievoorbeeld voor 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": "[email protected]"
}