Re: Gmail OAuth2 in git send-email
From: Jonathan Nieder <hidden>
Date: 2021-06-04 02:39:56
Jonathan Nieder wrote:
I agree that it wouldn't be worth "git send-email" registering for its own API key, mostly because registering for API keys with every email provider would be a distraction from what git send-email tries to do. On the other hand, I would mind a perl library or a commandline tool that git send-email calls having _its_ own API key.
Ahem --- I *wouldn't* mind a perl library or commandline tool showing up that does this. Sorry for the confusion.
That would be helpful to other programs that want to send email as well, and it would help users who are not as patient as we are in trudging through the multi-step process required. For example, it's nice that KMail, Apple's Mail.app, and so on have their own API keys instead of every user of those programs having to generate their own.
There's a sendgmail tool in https://github.com/google/gmail-oauth2-tools. It requires generating your own API key but I suppose someone could package it up with an API key for their package if they wish to. Jonathan