Can You Create a Draft with a Gmail Action Instead of Sending the Email?

This topic was automatically generated from Slack. You can find the original thread here.

Is it possible to have a Gmail action which creates a draft? It would essentially do the same thing as the send email action (with all the same props) - just instead of actually sending the email it would leave it in the drafts?

looks like it is already implemented, check for the app “Gmail (Developer App)”

thanks, do the current scopes on the main gmail app already support this action. If so, can we copy it over?

I’m not sure, I can try it later today and tell you

Surprisingly Gmail actually considers creating a draft a more sensitive action than sending an email, so the current scopes we have for the main Gmail app don’t allow you to create a draft :upside_down_face:

That uses https://www.googleapis.com/auth/gmail.compose, which they consider a “Restricted” scope. It’s not available to us now, but we’re going through the process to get approved (it’s a long process that will not complete soon, unfortunately).

Thank you