diff --git a/packages/isomorphic-core/src/auth-helpers.es6 b/packages/isomorphic-core/src/auth-helpers.es6 index 308dd9990..4454bd1fc 100644 --- a/packages/isomorphic-core/src/auth-helpers.es6 +++ b/packages/isomorphic-core/src/auth-helpers.es6 @@ -60,7 +60,7 @@ export function googleSettings(googleToken, email) { smtp_username: email, }, CommonProviderSettings.gmail); const connectionCredentials = { - expiry_date: googleToken.expiry_date, + expiry_date: Math.floor(googleToken.expiry_date / 1000), }; if (GMAIL_CLIENT_ID && GMAIL_CLIENT_SECRET) { // cloud-only credentials