Inkbox

App · 13 actions

Read and send agent email and monitor incoming and outgoing messages.

Actions

ActionWhat it does
Get email messageRead full headers and body.
Get email threadRead a thread and its messages.
Get mailboxRead a mailbox address and its storage usage.
List email draftsRead a page of saved drafts, newest update first.
List email messagesRead a page of email messages for the selected mailbox.
List email threadsRead conversations in a mailbox.
List mailboxesRead the mailboxes accessible to this API key.
List populated mailbox foldersRead the folders that currently contain visible threads.
Move an email threadMove a thread to Inbox, Spam or Archive.
Search a mailboxFind matching email in a mailbox.
Search all mailboxesFind email you can access across the organization.
Send emailSend an email from the selected mailbox.
Update email flagsMark 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

Mailboxemail_addresstextRequired
Mailbox.
Messagemessage_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

Mailboxemail_addresstextRequired
Mailbox.
Threadthread_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

Mailboxemail_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

Mailboxemail_addresstextRequired
Mailbox.
Cursorcursortext
Cursor from the previous page.
Limitlimitnumber
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

Mailboxemail_addresstextRequired
Mailbox.
Cursorcursortext
Cursor from the previous page.
Limitlimitnumber
The maximum results to return.From 1 to 100.
Directiondirectiontext
Read incoming or outgoing messages.One of: inbound, outbound.
Start datetimestart_datetimedate and time
Read messages created on or after this time.
End datetimeend_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

Mailboxemail_addresstextRequired
Mailbox.
Cursorcursortext
Cursor from the previous page.
Limitlimitnumber
The maximum results to return.From 1 to 100.
Folderfoldertext
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

Mailboxemail_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

Mailboxemail_addresstextRequired
Mailbox.
Threadthread_idtextRequired
Thread.
FolderfoldertextRequired
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

Mailboxemail_addresstextRequired
Mailbox.
QqtextRequired
Words or text to search for.
Limitlimitnumber
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

QqtextRequired
Words or text to search for.
Limitlimitnumber
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

Mailboxemail_addresstextRequired
Mailbox.
TotolistRequired
Email addresses to send to.
Cccclist
Email addresses to copy.
Bccbcclist
Email addresses to blind copy.
SubjectsubjecttextRequired
Email subject line.
Body textbody_texttext
Plain text of your message.
Body htmlbody_htmltext
HTML of your message.
Reply toreply_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

Mailboxemail_addresstextRequired
Mailbox.
Messagemessage_idtextRequired
Message.
Is readis_readtrue/false
Choose read or unread.
Is starredis_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"
  }
}

On this page