Inkbox
App · 13 actions
Read and send agent email and monitor incoming and outgoing messages.
Actions
| Action | What it does |
|---|---|
| Get email message | Read full headers and body. |
| Get email thread | Read a thread and its messages. |
| Get mailbox | Read a mailbox address and its storage usage. |
| List email drafts | Read a page of saved drafts, newest update first. |
| List email messages | Read a page of email messages for the selected mailbox. |
| List email threads | Read conversations in a mailbox. |
| List mailboxes | Read the mailboxes accessible to this API key. |
| List populated mailbox folders | Read the folders that currently contain visible threads. |
| Move an email thread | Move a thread to Inbox, Spam or Archive. |
| Search a mailbox | Find matching email in a mailbox. |
| Search all mailboxes | Find email you can access across the organization. |
| Send email | Send an email from the selected mailbox. |
| Update email flags | Mark an email as read or unread, or star or unstar it. |
Get email message
Read full headers and body. Inkbox marks an unread incoming message as read.
Inputs
- Mailbox
email_addresstextRequired - Mailbox.
- Message
message_idtextRequired - Message.
Outputs
dataobject- The response from Inkbox.
Example output
{
"data": {
"attachment_metadata": null,
"bcc_addresses": null,
"body_html": "<p>Hi! Your order #1234 has been confirmed and will ship within 2 business days.</p>",
"body_text": "Hi! Your order #1234 has been confirmed and will ship within 2 business days.",
"cc_addresses": null,
"created_at": "2025-03-01T12:00:00Z",
"direction": "outbound",
"first_opened_at": null,
"from_address": "agent-sales@inkboxmail.com",
"has_attachments": false,
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"import_job_id": null,
"in_reply_to": null,
"is_read": true,
"is_starred": false,
"mailbox_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"message_id": "<20250301120000.abc123@inkboxmail.com>",
"open_count": 0,
"references": null,
"reply_to": null,
"ses_message_id": "0102018abc123def-abcdef01-2345-6789-abcd-ef0123456789-000000",
"snippet": "Hi! Your order #1234 has been confirmed and will ship within...",
"status": "sent",
"subject": "Your order is confirmed",
"thread_id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"to_addresses": [
"customer@example.com"
],
"updated_at": "2025-03-01T12:00:00Z"
}
}Get email thread
Read a thread and its messages.
Inputs
- Mailbox
email_addresstextRequired - Mailbox.
- Thread
thread_idtextRequired - Thread.
Outputs
dataobject- The response from Inkbox.
Example output
{
"data": {
"created_at": "2025-03-01T12:00:00Z",
"folder": "inbox",
"id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"last_message_at": "2025-03-02T09:15:00Z",
"mailbox_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"message_count": 2,
"messages": [
{
"cc_addresses": null,
"created_at": "2025-03-01T12:00:00Z",
"direction": "outbound",
"from_address": "agent-sales@inkboxmail.com",
"has_attachments": false,
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"is_read": true,
"is_starred": false,
"mailbox_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"message_id": "<20250301120000.abc123@inkboxmail.com>",
"snippet": "Hi! Your order #1234 has been confirmed...",
"status": "sent",
"subject": "Your order is confirmed",
"thread_id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"to_addresses": [
"customer@example.com"
]
},
{
"cc_addresses": null,
"created_at": "2025-03-02T09:15:00Z",
"direction": "inbound",
"from_address": "customer@example.com",
"has_attachments": false,
"id": "e5f6a7b8-c9d0-1234-efab-345678901234",
"is_read": false,
"is_starred": false,
"mailbox_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"message_id": "<20250302091500.def456@example.com>",
"snippet": "Thanks! When will it arrive?",
"status": "received",
"subject": "Re: Your order is confirmed",
"thread_id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"to_addresses": [
"agent-sales@inkboxmail.com"
]
}
],
"subject": "Your order is confirmed"
}
}Get mailbox
Read a mailbox address and its storage usage.
Inputs
- Mailbox
email_addresstextRequired - Mailbox.
Outputs
dataobject- The response from Inkbox.
Example output
{
"data": {
"agent_identity_id": "sample_agent_identity_id",
"created_at": "Example",
"email_address": "Example",
"id": "sample_id",
"sending_domain": "Example",
"signature_enabled": false,
"signature_html": "Example",
"signature_text": "Example",
"storage_limit_bytes": 1,
"storage_used_bytes": 1,
"updated_at": "Example"
}
}List email drafts
Read a page of saved drafts, newest update first.
Inputs
- Mailbox
email_addresstextRequired - Mailbox.
- Cursor
cursortext - Cursor from the previous page.
- Limit
limitnumber - The maximum results to return.From 1 to 100.
Outputs
dataobject- The response from Inkbox.
Example output
{
"data": {
"has_more": true,
"items": [
{
"from_address": "draft",
"generation": 1,
"id": "draft",
"send_state": "draft",
"snippet": "draft",
"subject": "draft",
"updated_at": "draft"
}
],
"next_cursor": "eyJ0cyI6ICIyMDI1LTAzLTAxVDEyOjAwOjAwWiIsICJpZCI6ICJjM2Q0ZTVmNiJ9"
}
}List email messages
Read a page of email messages for the selected mailbox.
Inputs
- Mailbox
email_addresstextRequired - Mailbox.
- Cursor
cursortext - Cursor from the previous page.
- Limit
limitnumber - The maximum results to return.From 1 to 100.
- Direction
directiontext - Read incoming or outgoing messages.One of:
inbound,outbound. - Start datetime
start_datetimedate and time - Read messages created on or after this time.
- End datetime
end_datetimedate and time - Read messages created on or before this time.
Outputs
dataobject- The response from Inkbox.
Example output
{
"data": {
"has_more": true,
"items": [
{
"cc_addresses": null,
"created_at": "2025-03-01T12:00:00Z",
"direction": "outbound",
"first_opened_at": null,
"from_address": "agent-sales@inkboxmail.com",
"has_attachments": false,
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"import_job_id": null,
"is_read": true,
"is_starred": false,
"mailbox_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"message_id": "<20250301120000.abc123@inkboxmail.com>",
"open_count": 0,
"reply_to": null,
"snippet": "Hi! Your order #1234 has been confirmed and will ship within...",
"status": "sent",
"subject": "Your order is confirmed",
"thread_id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"to_addresses": [
"customer@example.com"
]
}
],
"next_cursor": "eyJ0cyI6ICIyMDI1LTAzLTAxVDEyOjAwOjAwWiIsICJpZCI6ICJjM2Q0ZTVmNiJ9"
}
}List email threads
Read conversations in a mailbox.
Inputs
- Mailbox
email_addresstextRequired - Mailbox.
- Cursor
cursortext - Cursor from the previous page.
- Limit
limitnumber - The maximum results to return.From 1 to 100.
- Folder
foldertext - Filter by mailbox folder.One of:
inbox,spam,archive,blocked.
Outputs
dataobject- The response from Inkbox.
Example output
{
"data": {
"has_more": false,
"items": [
{
"created_at": "Example",
"folder": "Example",
"id": "sample_id",
"last_message_at": "Example",
"mailbox_id": "sample_mailbox_id",
"message_count": 1,
"subject": "Example"
}
],
"next_cursor": "Example"
}
}List mailboxes
Read the mailboxes accessible to this API key.
Inputs
None.
Outputs
datalist- The response from Inkbox.
Example output
{
"data": [
{
"agent_identity_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"created_at": "2025-03-01T12:00:00Z",
"email_address": "sales-agent@inkboxmail.com",
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sending_domain": "inkboxmail.com",
"signature_enabled": false,
"signature_html": null,
"signature_text": null,
"storage_limit_bytes": 2147483648,
"storage_used_bytes": 184320,
"updated_at": "2025-03-01T12:00:00Z"
},
{
"agent_identity_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"created_at": "2025-02-15T09:30:00Z",
"email_address": "support-bot@inkboxmail.com",
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"sending_domain": "inkboxmail.com",
"signature_enabled": false,
"signature_html": null,
"signature_text": null,
"storage_limit_bytes": 2147483648,
"storage_used_bytes": 5242880,
"updated_at": "2025-02-15T09:30:00Z"
}
]
}List populated mailbox folders
Read the folders that currently contain visible threads.
Inputs
- Mailbox
email_addresstextRequired - Mailbox.
Outputs
datalist- The response from Inkbox.
Example output
{
"data": [
"archive",
"inbox"
]
}Move an email thread
Move a thread to Inbox, Spam or Archive.
Inputs
- Mailbox
email_addresstextRequired - Mailbox.
- Thread
thread_idtextRequired - Thread.
- Folder
foldertextRequired - Choose the destination folder.One of:
inbox,spam,archive.
Outputs
dataobject- The response from Inkbox.
Example output
{
"data": {
"created_at": "Example",
"folder": "Example",
"id": "sample_id",
"last_message_at": "Example",
"mailbox_id": "sample_mailbox_id",
"message_count": 1,
"subject": "Example"
}
}Search a mailbox
Find matching email in a mailbox.
Inputs
- Mailbox
email_addresstextRequired - Mailbox.
- Q
qtextRequired - Words or text to search for.
- Limit
limitnumber - The maximum results to return.From 1 to 100.
Outputs
dataobject- The response from Inkbox.
Example output
{
"data": {
"has_more": false,
"items": [
{
"cc_addresses": null,
"created_at": "2025-03-01T12:00:00Z",
"direction": "outbound",
"from_address": "agent-sales@inkboxmail.com",
"has_attachments": false,
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"is_read": true,
"is_starred": false,
"mailbox_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"message_id": "<20250301120000.abc123@inkboxmail.com>",
"snippet": "Hi! Your order #1234 has been confirmed and will ship within...",
"status": "sent",
"subject": "Your order is confirmed",
"thread_id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"to_addresses": [
"customer@example.com"
]
}
],
"next_cursor": null
}
}Search all mailboxes
Find email you can access across the organization.
Inputs
- Q
qtextRequired - Words or text to search for.
- Limit
limitnumber - The maximum results to return.From 1 to 100.
Outputs
dataobject- The response from Inkbox.
Example output
{
"data": {
"has_more": false,
"items": [
{
"cc_addresses": null,
"created_at": "2025-03-01T12:00:00Z",
"direction": "outbound",
"from_address": "agent-sales@inkboxmail.com",
"has_attachments": false,
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"is_read": true,
"is_starred": false,
"mailbox_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"message_id": "<20250301120000.abc123@inkboxmail.com>",
"snippet": "Hi! Your order #1234 has been confirmed and will ship within...",
"status": "sent",
"subject": "Your order is confirmed",
"thread_id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"to_addresses": [
"customer@example.com"
]
}
],
"next_cursor": null
}
}Send email
Send an email from the selected mailbox.
Inputs
- Mailbox
email_addresstextRequired - Mailbox.
- To
tolistRequired - Email addresses to send to.
- Cc
cclist - Email addresses to copy.
- Bcc
bcclist - Email addresses to blind copy.
- Subject
subjecttextRequired - Email subject line.
- Body text
body_texttext - Plain text of your message.
- Body html
body_htmltext - HTML of your message.
- Reply to
reply_totext - Address to receive replies.
Outputs
dataobject- The response from Inkbox.
Example output
{
"data": {
"id": "sample_id",
"message_id": "sample_message_id",
"status": "Example"
}
}Update email flags
Mark an email as read or unread, or star or unstar it.
Inputs
- Mailbox
email_addresstextRequired - Mailbox.
- Message
message_idtextRequired - Message.
- Is read
is_readtrue/false - Choose read or unread.
- Is starred
is_starredtrue/false - Choose starred or unstarred.
Outputs
dataobject- The response from Inkbox.
Example output
{
"data": {
"attachment_metadata": null,
"bcc_addresses": null,
"body_html": "<p>Hi! Your order #1234 has been confirmed and will ship within 2 business days.</p>",
"body_text": "Hi! Your order #1234 has been confirmed and will ship within 2 business days.",
"cc_addresses": null,
"created_at": "2025-03-01T12:00:00Z",
"direction": "outbound",
"first_opened_at": null,
"from_address": "agent-sales@inkboxmail.com",
"has_attachments": false,
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"import_job_id": null,
"in_reply_to": null,
"is_read": true,
"is_starred": false,
"mailbox_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"message_id": "<20250301120000.abc123@inkboxmail.com>",
"open_count": 0,
"references": null,
"reply_to": null,
"ses_message_id": "0102018abc123def-abcdef01-2345-6789-abcd-ef0123456789-000000",
"snippet": "Hi! Your order #1234 has been confirmed and will ship within...",
"status": "sent",
"subject": "Your order is confirmed",
"thread_id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"to_addresses": [
"customer@example.com"
],
"updated_at": "2025-03-01T12:00:00Z"
}
}