Tüm araçlar

reply_email

E-posta · macOS

Etki: gönderme. Durum: koşullu kullanılabilir.

“Koşullu kullanılabilirlik”, aracın sürüme, platforma, izinlere, hesaba veya yapılandırmaya bağlı olabileceğini belirtir. Her kurulumda etkin olduğu anlamına gelmez.

macOS

Amaç

Kullanıcı Mac'teki Apple Mail'de bulunan bir e-postayı yanıtlamak istediğinde bunu kullanın (list_emails/search_emails tarafından döndürülen ileti ID değeri). Düz metin veya HTML gövdeyi destekler ve göndermeden önce önizleme sunar. Yanıtı göndermeden Taslaklar'a bırakmak için `save_as_draft: true` iletin: aynı yerel Mail yanıtını (özgün iletinin otomatik alıntısı, doğru yazışma dizisi, Yanıtla/Tümünü Yanıtla alıcıları) oluşturup göndermek yerine kaydeder; bu yolda `send` hiçbir zaman çağrılmaz. `reply_to_message_id` ile `create_draft` da taslak bırakır ancak sıfırdan oluşturduğu için otomatik alıntı içermez. m365_list_emails tarafından döndürülen Microsoft 365 ileti ID değeri için m365_reply_email kullanın. Diğer hesapların taranmasını atlamak ve çok hesaplı Mac'lerde zaman aşımını önlemek için `account` değerini (list_emails/search_emails sonuçlarından) iletin.

Zorunlu girdiler

Girdi adları aracın istediği biçimde aynen korunur. İngilizce kanonik teknik tanımlar aşağıdaki açılır şemadadır.

İzinler ve onay

Şema açık bir onay parametresi bildirir. Önizlemeyi inceleyin ve gerçek işlemi platform sözleşmesine göre yetkilendirin.

İngilizce kanonik teknik şemamacOS
{
  "properties": {
    "account": {
      "description": "Account (from the listing) the message is in — pass it to skip scanning other accounts and avoid multi-account timeouts.",
      "type": "string"
    },
    "body": {
      "description": "Plain-text reply body.",
      "type": "string"
    },
    "confirm": {
      "default": "false",
      "description": "Consent gate: the first call previews the reply; call again with confirm=true to actually SEND it — or to save it when save_as_draft is set.",
      "type": "boolean"
    },
    "html_body": {
      "description": "HTML reply body. Takes precedence over `body` when both are given.",
      "type": "string"
    },
    "message_id": {
      "description": "Id of the message to reply to (from list_emails/search_emails).",
      "type": "string"
    },
    "reply_all": {
      "default": "false",
      "description": "Reply to all original recipients instead of just the sender.",
      "type": "boolean"
    },
    "save_as_draft": {
      "default": "false",
      "description": "Save the native reply in Drafts instead of sending it. Keeps Mail's reply template: automatic quote of the original, the right thread, and the Reply/Reply-All recipients. Nothing is sent on this path.",
      "type": "boolean"
    }
  },
  "required": [
    "message_id"
  ],
  "type": "object"
}

Belge örneği

reply_email için örnek belge. Bu örneği çalıştırmayın. Gösterilen bağımsız değişkenler kurgusal bir veri kümesine aittir; gerçek bir çağrıdan önce gerçek tanıtıcıları bulun ve izin alın.

{
  "body": "Can we review the launch checklist on Tuesday?",
  "confirm": false,
  "message_id": "demo-message-001"
}