function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Joaquin_teguiJoaquin_tegui 

Accesing Gmail messages from Salesforce

Hi all, 
We are currently migrating our service desk (mailing only) from a bunch of games accounts to the Service Console. Now everything is going great and users love sending mails directly from the case view.

My problem is that they need to have the gmail history available to know if a person was already contacted, etc. The thing is that this history is about 400k mails that we cannot upload to Salesforce for storage reasons. 

I've been trying different approaches like uploading the mails on a server and accessing them through a VFP or an External link but dealing with emails is a painspecially with the gmail mailbox format, I've been looking into the gmail API but I have little experience in this field.

Did anyone had this issue before? how did you approach it?

Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Joaquin,
I hope it will be helpful.

BestRegards
RahulKumar
Joaquin_teguiJoaquin_tegui
Hi Rahul, Thanks for answering, I saw that, but I think that's good for sales rep we are currently using email to case and we want to respond in that case and close the case, using lighting for gmail that will be much more tedious than answering directly inside the case