Mail Service Of Google App Engine (Standard) is very slow & delayed in sending mails.

126 views
Skip to first unread message

Mohammad Ashraf

unread,
Jul 24, 2020, 8:05:36 AM7/24/20
to Google App Engine
Hi,

Our Product "SBC GDriveFlow" is using Mail Service of Google App Engine (Standard) since more than 5 years.

Now a days we are getting much delay in receiving of mails form Google App Engine (Mail API service). Due to this our clients are facing much delay issue for getting mail in their mailbox from our Product. Initially it was very fast and working well.

Below is the documentation for Mail API this is used in our product:

https://cloud.google.com/appengine/docs/standard/java/mail

When I have seen our product's logs for sending mail is working fine & not taking much time in execution of Mail APIs form AppEngine.

Can anyone help me why is this happening delay of receiving mails in G Suite from AppEngine (Our Prodcut) ?  

Olu

unread,
Jul 24, 2020, 10:13:32 AM7/24/20
to Google App Engine
Hi, Mohammad

There are a number of reasons why this delay may be obtained and there are a lot of questions that may be asked. For example, is this a Common delay to all your receivers' domains? Or it is something only happening to a particular domain? This issue may also relate to your usage of the Mail API, if your Mail API quota was exhausted at the time. This is why I think it would be best for you to contact the GCP Support Engineers[1] on this issue, this way a GCP Support engineer would be able to work closely with you, reviewing your application configurations and determine exactly what may be the cause of the delay.

 That being said, I gathered that the App Engine Mail API is deprecated and is not supported by newer runtimes and will not be in the future, so you may want to start considering a switch to other solutions at some point.

Mohammad Ashraf

unread,
Jul 25, 2020, 9:01:29 PM7/25/20
to Google App Engine
Hi Olu,

This is not with Only one domain. There are more than one domain are getting this slowness or delay of receiving mails.

Per day my application is sending more than 2000 emails.One More thing I want to share my App Engine project is very old since 2014.I have Quotas of 20000 Recipients Emailed and 1,771,789 APIs calls (with APIs call Quota is 4,928 is per minute). So I think there is no issue in Quota. 

As I think Mail server of Google that is used in App Engine service is slow now a days. Can you share me about "prevent spammers" in document of App Engine where is it written ? 

 GCP Support Engineers[1]   is paid, so I asked this in this forum, Is there any workaround or is It really Google App Engine Mail Service is obsolete ?

As you are saying  it is deprecated, but as per documentation : https://cloud.google.com/appengine/docs/standard/java/mail
"This page describes how to use a legacy App Engine service. Apps that use this service can only run in the Java 8 runtime" . My App is using Java 8.

Please reply me what I have to do ?

Denis T (Google Cloud Platform Support)

unread,
Jul 27, 2020, 11:36:56 AM7/27/20
to Google App Engine
Hello Mohammad,

The App Engine Mail API is indeed a deprecated service. The link that you have mentioned also contains the following line:
“This solution is no longer recommended: This page describes how to use a legacy App Engine service.”

However, as I understand, your app is using the Mail API in Java 8 runtime and the issue you are experiencing is its latency (not that the service is not working in Java 8 runtime). 

Unfortunately, there is no other workaround that we can offer for a deprecated service besides using an alternative solution offered in this article of the GCP documentation.

Reply all
Reply to author
Forward
0 new messages