This patch series does 2 things. Firstly it basically makes the imap-send command usable again since it was broken because of not being able to correctly parse the config file. The second patch adds support for OAuth2.0 authentication to git imap-send. P.S.: I am surprised this thing even exists xD. v2: - Added support for OAuth2.0 with curl. - Fixed the memory leak in case auth_cram_md5 fails. v3: - Improve wording in first patch - Change misleading message if OAuth2.0 is used without OpenSSL v4: - Add PLAIN authentication mechanism for OpenSSL - Improved wording in the first patch a bit more Aditya Garg (4): imap-send: fix bug causing cfg->folder being set to NULL imap-send: add support for OAuth2.0 authentication imap-send: add PLAIN authentication method to OpenSSL imap-send: fix memory leak in case auth_cram_md5 fails Documentation/config/imap.adoc | 5 +- Documentation/git-imap-send.adoc | 46 +++++- imap-send.c | 268 +++++++++++++++++++++++++++++-- 3 files changed, 300 insertions(+), 19 deletions(-) -- 2.43.0