How do I import my emails with the help of API to front from an email platform other than Gmail and Microsoft 365?
Import emails API
Best answer by ejayr
Hey Aditya,
Front's automatic email history import only works with Gmail and Microsoft 365 channels since those use a two-way sync. For any other email provider, you'd connect via SMTP forwarding, which handles new incoming mail going forward but doesn't pull in your past emails automatically.
That said, you absolutely can import your historical emails using our API. The endpoint you're looking for is the Import Message endpoint. You'll send a POST request to /inboxes/{inbox_id}/imported_messages for each message you want to bring over. It accepts one message per request, so if you've got a large volume, you'll want to script it out with a loop on your end.
Here's the full API doc for that endpoint; it covers all the available parameters, including options for threading, archiving, and more: https://dev.frontapp.com/reference/import-inbox-message
And this Help Center article walks through all the options for importing history on SMTP channels: https://help.front.com/en/articles/2046
One more thing: if you happen to be migrating from Freshdesk, Zendesk, or Help Scout, Front has built-in import tools for those systems, so you wouldn't need to go the API route at all. !-->!-->
Login to the community
No account yet? Create an account
Use your Front credentials
Log in with FrontEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
