I want to know if it's possible to create draft mail using Google Apps script. And if yes, how is it possible ?
Regards, Sebastien
Google added support for generating drafts in September 2017. From the documentation:
// The code below creates a draft email with the current date and time.
var now = new Date();
GmailApp.createDraft("[email protected]", "current time", "The time is: " + now.toString());