+ Start a Discussion
Akash jena 3Akash jena 3 

getting error in Configure an Email Letterhead and Template module

User-added image
AnudeepAnudeep (Salesforce Developers) 
Hi Akash, 

As far as I know "Mail service not enabled", is thrown from google's end, this might mean that even though the user has google account, gmail is not enabled for the user.

I have seen a similar issue in the past where customer was trying to send email using Gmail and were getting below error -

com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
{
"code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "Mail service not enabled",
"reason" : "failedPrecondition"
} ],
"message" : "Mail service not enabled"
}

Cause:

customer had some issue with their gmail account, they reconfigured it, and it resolved.

If you need further help, try raising a case with support

Let me know if this helps, if it does, please mark this answer as best so that others facing the same issue will find this information useful. Thank you