removedInput schema / properties / Authorization
Removed value: -{
- "description": "Bearer authentication",
- "type": "string"
-}
addedInput schema / properties / add_attachments
Added value: +{
+ "description": "Attachments to add to the draft.",
+ "items": {
+ "description": "Provide either `content` or `url` for each attachment.",
+ "properties": {
+ "content": {
+ "description": "Base64 encoded content of the attachment. The entire request, including the message body and all attachments, is limited to 6 MB.",
+ "type": "string"
+ },
+ "content_disposition": {
+ "description": "Content disposition of attachment.",
+ "enum": [
+ "inline",
+ "attachment"
+ ],
+ "title": "AttachmentContentDisposition",
+ "type": "string"
+ },
+ "content_id": {
+ "description": "Content ID of attachment.",
+ "title": "AttachmentContentId",
+ "type": "string"
+ },
+ "content_type": {
+ "description": "Content type of attachment.",
+ "title": "AttachmentContentType",
+ "type": "string"
+ },
+ "filename": {
+ "description": "Filename of attachment.",
+ "title": "AttachmentFilename",
+ "type": "string"
+ },
+ "url": {
+ "description": "URL that AgentMail can download without custom authentication headers or cookies.\nRedirects and pre-signed URLs are supported, and the final response must be a\nsuccessful 2xx response. Keep URL-backed attachments around 30 MB total per message.",
+ "type": "string"
+ }
+ },
+ "title": "SendAttachment",
+ "type": "object"
+ },
+ "type": "array"
+}
addedInput schema / properties / add_labels
Added value: +{
+ "description": "Label or labels to add to the draft.",
+ "items": {
+ "type": "string"
+ },
+ "title": "DraftLabels",
+ "type": "array"
+}
addedInput schema / properties / bcc / anyOf
Added value: +[
+ {
+ "description": "Addresses of BCC recipients. In format `username@domain.com` or `Display Name <username@domain.com>`.",
+ "items": {
+ "type": "string"
+ },
+ "title": "DraftBcc",
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]
removedInput schema / properties / bcc / description
Removed value: -"Addresses of BCC recipients. In format `username@domain.com` or `Display Name <username@domain.com>`."
removedInput schema / properties / bcc / items
Removed value: -{
- "type": "string"
-}
removedInput schema / properties / bcc / title
Removed value: -"DraftBcc"
removedInput schema / properties / bcc / type
Removed value: -"array"
addedInput schema / properties / cc / anyOf
Added value: +[
+ {
+ "description": "Addresses of CC recipients. In format `username@domain.com` or `Display Name <username@domain.com>`.",
+ "items": {
+ "type": "string"
+ },
+ "title": "DraftCc",
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]
removedInput schema / properties / cc / description
Removed value: -"Addresses of CC recipients. In format `username@domain.com` or `Display Name <username@domain.com>`."
removedInput schema / properties / cc / items
Removed value: -{
- "type": "string"
-}
removedInput schema / properties / cc / title
Removed value: -"DraftCc"
removedInput schema / properties / cc / type
Removed value: -"array"
addedInput schema / properties / html / anyOf
Added value: +[
+ {
+ "description": "HTML body of draft.",
+ "title": "DraftHtml",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+]
removedInput schema / properties / html / description
Removed value: -"HTML body of draft."
removedInput schema / properties / html / title
Removed value: -"DraftHtml"
removedInput schema / properties / html / type
Removed value: -"string"
addedInput schema / properties / remove_attachments
Added value: +{
+ "description": "IDs of attachments to remove from the draft.",
+ "items": {
+ "description": "ID of attachment.",
+ "title": "AttachmentId",
+ "type": "string"
+ },
+ "type": "array"
+}
addedInput schema / properties / remove_labels
Added value: +{
+ "description": "Label or labels to remove from the draft.",
+ "items": {
+ "type": "string"
+ },
+ "title": "DraftLabels",
+ "type": "array"
+}
addedInput schema / properties / reply_to / anyOf
Added value: +[
+ {
+ "description": "Reply-to addresses. In format `username@domain.com` or `Display Name <username@domain.com>`.",
+ "items": {
+ "type": "string"
+ },
+ "title": "DraftReplyTo",
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]
removedInput schema / properties / reply_to / description
Removed value: -"Reply-to addresses. In format `username@domain.com` or `Display Name <username@domain.com>`."
removedInput schema / properties / reply_to / items
Removed value: -{
- "type": "string"
-}
removedInput schema / properties / reply_to / title
Removed value: -"DraftReplyTo"
removedInput schema / properties / reply_to / type
Removed value: -"array"
addedInput schema / properties / send_at / anyOf
Added value: +[
+ {
+ "description": "Time at which to schedule send draft.",
+ "format": "date-time",
+ "title": "DraftSendAt",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+]
removedInput schema / properties / send_at / description
Removed value: -"Time at which to schedule send draft."
removedInput schema / properties / send_at / format
Removed value: -"date-time"
removedInput schema / properties / send_at / title
Removed value: -"DraftSendAt"
removedInput schema / properties / send_at / type
Removed value: -"string"
addedInput schema / properties / subject / anyOf
Added value: +[
+ {
+ "description": "Subject of draft.",
+ "title": "DraftSubject",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+]
removedInput schema / properties / subject / description
Removed value: -"Subject of draft."
removedInput schema / properties / subject / title
Removed value: -"DraftSubject"
removedInput schema / properties / subject / type
Removed value: -"string"
addedInput schema / properties / text / anyOf
Added value: +[
+ {
+ "description": "Plain text body of draft.",
+ "title": "DraftText",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+]
removedInput schema / properties / text / description
Removed value: -"Plain text body of draft."
removedInput schema / properties / text / title
Removed value: -"DraftText"
removedInput schema / properties / text / type
Removed value: -"string"
addedInput schema / properties / to / anyOf
Added value: +[
+ {
+ "description": "Addresses of recipients. In format `username@domain.com` or `Display Name <username@domain.com>`.",
+ "items": {
+ "type": "string"
+ },
+ "title": "DraftTo",
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]
removedInput schema / properties / to / description
Removed value: -"Addresses of recipients. In format `username@domain.com` or `Display Name <username@domain.com>`."
removedInput schema / properties / to / items
Removed value: -{
- "type": "string"
-}
removedInput schema / properties / to / title
Removed value: -"DraftTo"
removedInput schema / properties / to / type
Removed value: -"array"
changedInput schema / required
Previous value: -[
- "inbox_id",
- "draft_id",
- "Authorization"
-]New value: +[
+ "draft_id",
+ "inbox_id"
+]