Gmail sync stopped after seven days. How to reconnect

Check whether Google OAuth Testing expired your Gmail connection. Compare symptoms, reconnect the right mailbox and protect local drafts and mail before troubleshooting.

A cream envelope layered over thin strips of coloured stationery.

If a third-party email app worked for roughly a week and now asks you to reconnect Gmail, Google may have expired the app's test access. Google issues seven-day refresh tokens to OAuth projects with an External audience and a publishing status of Testing, with an exception for requests limited to basic identity scopes. Open Gmail in your browser first. If new mail appears there and your client is asking for permission again, reconnect the existing mailbox using the same Google Account. A repeating weekly failure is worth reporting to the developer. Google OAuth refresh token rules

Check what stopped before changing your setup

Open Gmail and confirm the full mailbox address using your account picture. Compare that address with the mailbox listed in your desktop app. If you see personal and work accounts under different Google profiles, compare one account at a time. Opening a second account by accident is an easy way to conclude that the two inboxes disagree.

Choose a message received since the client last updated. If there has been no new mail, send a short test message from a separate address you control and give it a distinctive subject such as Sync check 24 November 10:15. First find it in Gmail, then sync the same mailbox in your client and search for the subject there. If Gmail has moved the message out of Inbox, open the corresponding view or search in the client. That separates an Inbox display difference from a failure to download new mail. Find Gmail messages outside Inbox and All Mail

What you can reproduce What to check next
Gmail on the web is current, and the app asks to reconnect A missing, expired or revoked mailbox grant
Gmail is current, and a manual refresh works, but automatic updates stopped The app's background sync, notification or push setup
New mail syncs, but send, archive or labels fail The failed feature's permissions, app settings or error message
The message exists in Gmail search but only one view is missing it Labels, archived messages, mailbox selection and Inbox filters
The test message is missing from Gmail on the web Delivery, the Google account's storage or a Gmail service issue
Only the app's product account sign-in fails Its login session or account access, before checking the mailbox grant

If Gmail itself is having trouble, check the Google Workspace Status Dashboard for a Gmail incident. If your storage is full, Google can stop incoming and outgoing mail. In that case, refreshing the client may work perfectly and show the same stale inbox, because Gmail received nothing new. For a single expected message, check search, Spam and Trash and ask the sender whether it bounced. Google support on storage and Gmail delivery

What the seven-day Testing rule does

When you authorise a mail client, Google grants it a credential called an access token, which the app uses to call the relevant service. An app that needs to sync later can also request a refresh token. That refresh token lets it request a new access token after the old one expires. During normal operation the exchange happens quietly. When the refresh token itself expires or is invalidated, the app may need you to give Google consent again. Google OAuth token lifecycle

Google's seven-day rule concerns the refresh token issued by an External project in Testing. The basic identity exception applies only when the requested scopes are a subset of openid, userinfo.email and userinfo.profile or their OpenID Connect equivalents. Gmail permissions such as gmail.readonly, gmail.send and gmail.modify fall outside that exception. Even an app you use every day can hit the Testing deadline. The relevant date is when that refresh token was issued, which may be later than the installation date. The first visible error may come after the app next needs to refresh access, such as when you reopen the PC after a weekend. Google's refresh token expiration conditions · Gmail API scope reference

For example, a tester connects a Gmail mailbox on Monday afternoon. The app brings in mail through the week. The following Monday or Tuesday, Gmail on the web still receives messages while the app shows last week's inbox and asks to reconnect. If the developer confirms External Testing and a new consent restores access for another week, the sequence fits the token policy. The same week-long gap without a reconnect prompt has other possible causes. Record when mail last synced and the date you authorised or reauthorised Gmail, even if the app does not provide an exact previous sync time.

The developer controls the OAuth project's publishing status. Google distinguishes Testing, published but unverified, and published and verified. The developer may need approval for a restricted Gmail scope before broad public use. A published registration, an app invite, and approval for mailbox data are different events. Google also documents administrative overrides in some Google Workspace setups. Ask the developer what applies to your app, and ask your organisation's administrator about a managed mailbox. Google OAuth app state overview

If your work depends on the connection operating unattended, plan for what happens when the next permission expires. For example, a service that reads order confirmations from Gmail can stop importing new orders while Gmail continues to receive them. Compare the date of the latest imported order with the last email actually received, and process any missing items in Gmail while the connection is down. When the service resumes, check how far back it imports and whether work done during the pause will be repeated. If the developer moves the app out of Testing, check whether you need a new connection to obtain a fresh grant. Record its date and verify one automatic sync after the next weekly boundary instead of using an immediate manual refresh as evidence that the recurring issue is resolved.

Why account sign-in can still work

It is possible to sign in to an app through Google and see your profile even after the app's Gmail access has expired. A third-party account can have its own session and identity grant, and the same app can need a second grant to work with messages. If you can open settings and switch to another mailbox, but Gmail alone asks to reconnect, start with the Gmail mailbox entry. Signing out of the whole app can make investigation harder if it takes you away from your existing drafts and account state. Review the different Google linked app permissions

Offline access and offline reading mean different things

In Google's OAuth documentation, offline access allows the app to refresh API permissions without an interactive sign-in each time. The app still needs an internet connection to contact Google. A mail client might also let you read messages it saved to disk while your PC was connected. That local cache may open normally even if the Google grant has expired. An older conversation opening successfully is evidence of a local copy. A newly delivered test email, or a fresh read-status change visible in both places, is a better test of live sync. Google OAuth documentation on refreshing access

Reconnect the mailbox and verify it safely

  1. Check drafts and pending sends first. Compare your app's Drafts and Outbox with Gmail's Drafts and Sent. A draft created while offline may exist only in the app. If a send timed out, look for the message in Gmail's Sent folder and check the recipient and timestamp before retrying. Note anything that must survive reauthorisation or a later repair.
  2. Open the existing Gmail mailbox in the client's account settings. Look for Reconnect, Sign in again, or the equivalent action. If the app offers only removal and re-addition, read its guidance on what happens to local drafts, archived mail and pending changes before removing the mailbox. Creating a second mailbox entry can make comparison difficult and, depending on the client, leave you with duplicate views of the account.
  3. Choose the address that owns the mailbox. Follow the app's Google flow in your browser. Select the exact Gmail or Google Workspace address you checked earlier. If the browser defaults to another account, select the correct one before granting access. Review the Google consent screen and return to the app once it finishes. Use an approved alternative if the grant is blocked.
  4. Test with the known message. Refresh the app and find the test mail that already exists on the web. If you're testing two-way sync, mark an expendable message unread in the app and confirm the new state in Gmail. If you mainly use the client to send, send a new unmistakable test message to another address you own and confirm its appearance in Gmail Sent and at the destination.
  5. Check what comes back and what is still pending. The client's first refresh may take longer if it has a backlog. Check the recorded last sync time, recent mail and specific drafts you need. If the client resumes a queued send, verify that you have one sent copy before trying it by hand.

Reauthorisation restores a grant you want to keep. A separate action in Google's linked apps settings lets you Remove access when you want to stop the app from using Google data. Revoking access just to troubleshoot can affect other features or devices using the same grant. Use the built-in reconnect first when it is available. If you no longer trust the app or if you discover an unfamiliar grant, removing access is appropriate. Google Account Help on managing linked apps

Read the error at the point where it occurs

Some clients show the OAuth error invalid_grant. At the token refresh step, it means the app presented a grant Google could no longer use. Expiry and revocation can produce the same error, and an incorrect token or app configuration can also cause a failure. The useful detail is what happened before it. If yesterday's messages arrived and Google's fresh consent fixes it today, the previous grant is the first thing to investigate. If Google finishes consent yet invalid_grant reappears immediately, tell the developer that fresh consent also failed. That points them toward the client's token handling or registration instead of relying on calendar timing. Google OAuth documentation on invalid_grant

Check whether you can reproduce it after closing and reopening the app. A successful refresh immediately after consent followed by failure at the next launch is different from a client that works across restarts for a week. If your phone and PC use separate client apps, compare them as well. A problem in one app can leave the other untouched because they use different grants. If several unrelated apps lost access after the same password change, report that sequence.

For an account that brought outside mail into Gmail, compare a new message sent to your Gmail address with a message sent to your provider address. If direct mail reaches both Gmail in the browser and your app, while provider mail never reaches Gmail, investigate forwarding or the old fetch setup first. Reconnecting the app to Gmail cannot retrieve a message still at the other provider. Replacing Gmail’s Check mail from other accounts

When the timing does not fit Testing

It stopped after a password change or security review

Google lists a password change as a reason a refresh token containing Gmail scopes can stop working. It also lists user revocation, an unused token after six months, limited-duration consent ending, and some token limits. If you recently tightened Google Account security, check whether you explicitly removed the app or changed your password. Reconnect intentionally if you still use and trust the client. If it is an old OAuth-enabled client that you haven't opened for months, a fresh Google grant may be all it needs. Google OAuth refresh token expiration conditions

OAuth tokens and app passwords are different credentials. A legacy client using an app password can also stop after you change your Google password, since Google revokes app passwords after a password change. Check the provider's setup instructions to determine which method you originally used. Where the client supports Google's modern sign-in, use that for account setup. Changing your Google password proactively or entering the new password into a third-party app form adds disruption to a normal OAuth reauthorisation. Google Account Help on app passwords · Gmail Help on other email clients

It only happens with a work or school mailbox

If Google says admin_policy_enforced, or a Gmail API client reports domainPolicy, give your administrator the affected account, app name and error text. An organisation can block an app or restrict a Google service. An existing integration can stop if controls change. A personal mailbox that still syncs in the same app helps narrow the problem to policy or permissions on the work account. Avoid moving work mail to that personal mailbox as a workaround. Google Workspace app access controls · Gmail API error details

It happens on the first connection or immediately after a prompt

An Access blocked page that says only approved testers can use the app points to test eligibility or the wrong Google Account, rather than a token that worked for seven days. If the browser shows 403 access_denied, read the rest of the Google message. Testing, organisation policy, and other account restrictions can yield that code. Errors such as invalid_scope and redirect_uri_mismatch usually require the developer to fix the setup. The developer needs the code and the step at which you saw it. Google Account Help on consent and account errors

When the browser finishes but the app still repeats the consent request, report whether the browser returned you to the app, whether you saw a connected mailbox and whether mail showed up even briefly. Those details help the developer tell a failed return from a client that connected but failed to keep its credentials across a restart. Try the same connection once after checking the app version and selecting the right account. Repeated reinstalls or dozens of authorisations can obscure the failure. Google limits active tokens per Google Account and OAuth client and can invalidate the oldest token when a new one exceeds the limit. Google OAuth token limits

Manual refresh works, but background sync stopped

If a manual refresh gets the message and updates Gmail state without prompting for consent, start with background sync or the app's notification settings. See whether visiting the mailbox updates its unread count but produces no desktop alert. Check the app's notification preferences and whether Windows is suppressing notifications. If the mailbox remains stale until you bring the app to the foreground, record whether it only happens after your PC sleeps. With a hosted app, check whether the failure occurs on all devices, because background update processing may run on the app's server.

For a service that uses Gmail API push, Google also has a seven-day renewal interval for the mailbox watch. That is separate from a Testing refresh token. A service can stop receiving push notices while authorised manual fetches still work. The developer needs to renew watches and handle missed updates. Google's recommended recovery for an outdated mailbox history reference is a full sync by the client. If manual fetching works but changes from several days are still missing, share a harmless example and the time range with the developer. Gmail API push notifications · Gmail API sync and history

Only one kind of action stopped working

If the app can read new email but cannot send or archive, it may have a grant with insufficient access for that action. A typical example is a reader with gmail.readonly that now exposes a send button after an update. Check the actual consent and the error from the app. Rate-limit errors and send limits can also affect an operation while leaving reads available. A 401 from the Gmail API can indicate an expired or invalid access token or missing authorization. A 403 needs its accompanying reason. If your app only shows “sync failed,” the observations in the next section help its support team find the underlying error. Gmail API error reference

What to include in a support report

Give the developer the product and version, whether the address is personal Gmail or managed Workspace, the date you connected it, and the date you last confirmed a new message synced. Add the exact error wording and where it appeared. Include whether Gmail on the web received your test, whether manual refresh works, and whether reauthorising restored reads or sending. If it has failed twice after roughly a week, give both dates. That can distinguish a repeated seven-day pattern from a single coincidence after a password or policy change.

If a screenshot is necessary, crop it to the error and redact mailbox addresses or message content that support does not need. Leave out browser callback URLs, access or refresh tokens, and authentication codes. For a Workspace restriction, your administrator may need the app's registered name or OAuth client identifier from the vendor to locate it in the Admin console. Google Workspace app control and app details

If you are testing Gmail in Swftink

Swftink's direct Gmail connection on supported Windows editions is currently available to approved Google test accounts. The mailbox connection requests gmail.modify, a restricted Gmail scope. If the Gmail grant expires, use the mailbox's reconnect action with the same test account and check for new mail after the app returns. Google identity sign-in to your Swftink account is separate from that mailbox grant. Existing downloads may stay readable on the PC even when live Gmail sync is paused. Swftink privacy policy · Google's OAuth Testing policy

Keep using Gmail in your browser for time-sensitive work until you see live messages and verify sending again. For mail already drafted in Swftink, verify where the latest copy is before clearing local data. Delete local mailbox data removes locally stored drafts, outbox items and the cache. If you want to withdraw Swftink's access instead of reconnecting, follow the steps for reviewing and removing Gmail app permissions.

Sources