[PATCH v3 0/3] send-email: add oauth2 support and fix outlook breaking threads

Aditya Garg
2025-04-22T15:26:35Z

Hi all!

This patch series includes three changes:

1. It adds support for Oauth2 authentication, which is now compulsory by Microsoft.
This patch has been rebased to the latest version from the original version
at https://lore.kernel.org/git/20250125190131.48717-1-julian@swagemakers.org/

2. The second patch makes the script reply to the message id set by the outlook,
since outlook has its own proprietary way to handle message ids,
and does not allow user to set their own. As a result, threads were breaking.

3. The final patch adds a new option to generate passwords like OAuth2 tokens.
This is useful for users who want to use a script which generates tokens for
OAuth2 authentication.

Detailed description of each patch has been done in the respective patches

BTW, I am sending this series using the patched send-email by these patches from
Outlook!

v2: Fix errors flagged by the CI
v3: Add third patch to generate passwords like OAuth2 tokens

Aditya Garg (2):
send-email: retrieve Message-ID from outlook SMTP server
send-email: add option to generate passswords like OAuth2 tokens

Julian Swagemakers (1):
send-email: implement SMTP bearer authentication

Documentation/git-send-email.adoc | 13 ++++-
git-send-email.perl | 90 ++++++++++++++++++++++++++++++-
2 files changed, 101 insertions(+), 2 deletions(-)

--
2.49.0