2

How can I export all emails from my Gmail inbox to a .csv file?

I need to load the data into Salesforce as a case against a contact.

1
3

Google Takeout will let you download your Gmail messages in MBOX format.

From there, you'd need to convert it to CSV. I haven't used any of these, but a quick search found several possible paths you could take, for instance:

Not the answer you're looking for? Browse other questions tagged or ask your own question.