Only show these results:

Sent Mail Not Syncing

User’s Messages Stored Locally

Sometimes mail clients will only store sent messages locally.

Causes Local Messages

  • Nylas is unable to sync these messages since they are stored locally on the user's computer, and not on the mail server.

Solutions Local Messages

IMAP Sent Folder Not Recognized

Sent folder not recognized by Nylas.

Causes Sent Folder

  • Nylas is not able to automatically detect the sent folder for a user.
  • IMAP server has not designated the correct sent folder
  • User’s folder are in a language other than English, Nylas might not be able to find the sent folder.

Solutions Sent Folder

You will need to make an API request to find the folder type and if applicable, set the sent folder.

  1. Check the name of the folder. Make a GET request to/folders and check the name. If none of the folders have "name": "sent", then Nylas has failed to detect the sent folder.

Folder GET Request Example

Neither of the folders has the name sent. So Nylas is not able to recognize the sent folder.

[
{
"account_id": "ed1yjlagyt8abfwgnr53eeqnd",
"display_name": "INBOX",
"id": "7xyvuimsxu2hburguqw9e4oy",
"name": "inbox",
"object": "folder"
},
{
"account_id": "ed1yjlagyt8abfwgnr53eeqnd",
"display_name": "Sent",
"id": "cw1atz18w6ddfh988hf24hrwd",
"name": null,
"object": "folder"
}
]
  1. Update the correct folder name. Make a PUT request to /folder.
# Replace {id} to get a specific folder
curl -X PUT 'https://api.nylas.com/folders/{folder_id}' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-d '{
"name": "Folder Name"
}'
  1. Check the folder name again and it should be sent.

Name and Display Name

When determining the folder, keep in the mind the distinction between name and display name.

Folder is a standard category type based on RFC-6154 and can be one of the following: inbox, all, trash, archive, drafts, sent, spam, important, or null.

Display Name is the localized name of the folder, matching what is presented in the user's other mail apps. If you are displaying folders, you should use display_name instead of name.

Google and Microsoft Accounts

You can only set the sent mail folder for IMAP accounts. For other accounts like Exchange and Gmail, the mail server is in charge of saving the sent message to the appropriate place.

Sync Delay

There was a sync delay or some other issues preventing Nylas from pulling in emails.

Causes Sync Delay

  • Throttling by the server
  • Other sync issues

Solutions Sync Delay

  • Review Throttling. If the account is being throttled, Nylas won't be able to sync mail until the throttling window expires.
  • Check the sync status in the dashboard under Accounts and Logs.

If the issue persists, please reach out to support.