Mailbox was designed to be the email control hub inside Pipedrive. Pipedrive supports all major providers (including Gmail, Outlook and also custom IMAP/SMTP). There are 2 options for syncing user emails: 2-way sync: Mail Connection is established with the mail provider (example Gmail). There can be only 1 active Mail Connection per user in company. 1-way sync: SmartBCC feature which stores the copies of email messages to Pipedrive by adding the SmartBCC specific address to mail recipients.
Returns data about a specific mail message.
2
/v1/mailbox/mailMessages/{id}
id
integer
required
The ID of the mail message to fetch
include_body
number
Whether to include the full message body or not. 0
= Don't include, 1
= Include.
Default
0
Values
0
1
OK
Returns mail threads in a specified folder ordered by the most recent message within.
20
/v1/mailbox/mailThreads
folder
string
required
The type of folder to fetch
Default
inbox
Values
inbox
drafts
sent
archive
start
integer
Pagination start
Default
0
limit
integer
Items shown per page
OK
Returns a specific mail thread.
20
/v1/mailbox/mailThreads/{id}
id
integer
required
The ID of the mail thread
OK
Returns all the mail messages inside a specified mail thread.
20
/v1/mailbox/mailThreads/{id}/mailMessages
id
integer
required
The ID of the mail thread
OK
Updates the properties of a mail thread.
10
/v1/mailbox/mailThreads/{id}
id
integer
required
The ID of the mail thread
application/x-www-form-urlencoded
deal_id
integer
The ID of the deal this thread is associated with
lead_id
string
The ID of the lead this thread is associated with
Format
uuid
shared_flag
Whether this thread is shared with other users in your company
Values
0
1
read_flag
Whether this thread is read or unread
Values
0
1
archived_flag
Whether this thread is archived or not. You can only archive threads that belong to Inbox folder. Archived threads will disappear from Inbox.
Values
0
1
OK
Marks a mail thread as deleted.
6
/v1/mailbox/mailThreads/{id}
id
integer
required
The ID of the mail thread
OK