mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-01 10:33:14 +08:00
Summary: Previously, we would create a nodemailer SMTP transport object when the sync worker booted up. The transport object would be passed the account SMTP credentials at the time of object creation. If the Google auth token later expired, we would continue to try to send mail using the expired token, resulting in "Invalid login" failures. This patch makes it so we refresh the transport object if the auth token changes, and also turns on SMTP connection pooling to limit simultaneous SMTP connections (& maybe make sending multiple messages faster). Fixes T7891 Test Plan: manual Reviewers: juan, halla Reviewed By: juan, halla Subscribers: mark Maniphest Tasks: T7891 Differential Revision: https://phab.nylas.com/D3997 |
||
---|---|---|
.. | ||
client-app | ||
client-sync | ||
isomorphic-core | ||
README.md |
Monorepo Packages
Each folder here is designed to act as its own repository. For development convenience, they are all included here in one monorepo. This allows us to grep across multiple codebases, not use submodules, and keep a unified commit history.
We use Lerna to manage the monorepo and tie
them all together with the main nylas-mail-all/scripts/postinstall.es6
script,
which in turn, calls lerna bootstrap