Sent Mail Not Syncing
Sometimes mail clients will only store sent messages locally.
- Nylas is unable to sync these messages since they are stored locally on the user's computer, and not on the mail server.
- The user's SMTP server is configured to save copies of sent messages to the sent folder. Review the Microsoft guide, Email sent using Outlook are not saved to the Sent Items folder.
- Other providers should check the user's SMTP setting locally.
Sent folder not recognized by Nylas.
- 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.
You will need to make an API request to find the folder type and if applicable, set the sent folder.
- 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. Sent must be lowercase.
Neither of the folders has the name
sent. So Nylas is not able to recognize the sent folder.
- Update the correct folder name. Make a PUT request to /folder.
curl -X PUT 'https://api.nylas.com/folders/<FOLDER_ID>' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
- Check the folder name again and it should be
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.
There was a sync delay or some other issues preventing Nylas from pulling in emails.
- Throttling by the server
- Other sync issues
- 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.