I built an app that runs on Google App Engine and it sends emails automatically when specific events happen. The emails get sent using my Gmail account. Before this issue started, every email that my app sent would show up in my Gmail sent folder like normal. But now it’s not working the same way anymore. Yesterday my app sent an email and the person got it just fine, but when I checked my Gmail sent folder there was nothing there. This used to work perfectly but now some emails show up in sent items and others don’t. Has anyone else run into this problem? What might be causing emails to not appear in the sent folder even though they are being delivered successfully?
Same thing happened to me six months ago. The problem was using App Engine’s mail service instead of Gmail’s SMTP with proper auth. App Engine’s mail API doesn’t keep the same session as your Gmail account, so sent messages don’t always show up in your sent folder. I switched to Gmail’s SMTP servers with app-specific passwords and it fixed everything. Just make sure you’re authenticating directly with Gmail’s servers instead of using App Engine’s mail service. Both deliver emails fine, but only direct SMTP auth keeps your sent folder synced properly.
I encountered the same issue with my App Engine app a while back. The emails were being sent, but they weren’t showing up in my Gmail sent folder. The problem stemmed from recent updates to the authentication methods. Switching from SMTP to the Gmail API resolved my issue, ensuring that the correct permissions were granted. It’s crucial to inspect any recent changes to your authentication libraries, as updates can impact how Gmail records sent messages. This misalignment between the sending context and your account session is likely causing the inconsistency you’re facing.
sounds like a gmail sync problem. I’ve seen this before - automated emails get delivered but don’t show up in the sent folder. check if your app’s oauth is working right. token refreshes can screw up how gmail tracks outgoing messages.