Drafts 11.0 (iOS) Released

Drafts release 11.0 (iOS) is now available in the App Store, details below.

New Version Numbering: Moving forward, each feature release of Drafts will get a major version number. Minor version numbers will still be used for bug fix and minor releases. If you look back, it’s the same thing we’ve been doing, but we’re dropping the “5”.

Gmail, Outlook integration

This release brings support for sending email directly with Gmail and Outlook.com based email accounts via new action steps and scripting interfaces. These new integrations allow single-tap actions which send mail in the background through your email accounts on these services – useful for quick send actions to recipients and groups you send to often, and also for integration with services that allow you to email text into the service, but require those email come “From” a known address (like Asana, OneNote). Because of the direct integration, messages will come “From” your own address and be in your “Sent” folder on these services.

For more general information about using email with Drafts, see our Sending Mail with Drafts guide

  • New: Gmail Action Step
    • Send mail using Gmail accounts (via Gmail API)
    • Sends in background, so must be fully configured with recipients, etc.
    • Uses OAuth to authenticate to Google accounts. Use credential identifier for multiple accounts.
  • New: GmailMessage script object
    • Send email using Gmail accounts (via Gmail API) in script
    • Enables things like looping over addresses to send emails individually to separate “To” recipients, etc.
    • GmailMessage reference
  • New: Outlook Action Step
    • Send mail using Outlook.com accounts (via Microsoft Graph API)
    • Sends in background, so must be fully configured with recipients, etc.
    • Enables things like looping over addresses to send emails individually to separate “To” recipients, etc.
    • Uses OAuth to authenticate to Microsoft accounts. Should work with Personal/Work-School accounts, as long as they are Outlook.com integrated. Use credential identifier for multiple accounts.
  • New: OutlookMessage script object

Other Additions, Changes and Fixes

  • New: MustacheTemplate script object.
    • Process mustache style templates in script.
    • Can take template string or be created pointing to directory of .mustache template files in iCloud Drive
    • You also must contruct and pass the data object to use for values.
    • Not all scriptable objects are exposed to templates, but Draft objects are.
    • Docs: https://reference.getdrafts.com/objects/MustacheTemplate.html
  • Fix: Case where a URL-based action which leaves Drafts could result in “after success” archive/trash happening but not getting properly synced to other devices.
  • Change: Add error messages alerts for invalid states in a number of action steps. There are for invalid states that prevent a step from executing. Throwing an alert error help save a trip to the action log in these configuration error cases - like a script that will not compile.
  • Change: If HTML passed to HTML Prevew has a title element, use that title as the window title.
  • Fix: Better focus on text field returning to app after the new draft creation timeout is passed.
  • Change: Add warning trying to use URL actions for multiple selected drafts via Select > Operations in the draft list.
  • Fix: Filter button over draft list not properly themed when automatic theme switching occured while draft list was visible.
  • Fix: FileManager.moveItem(src, dest, overwrite) would not successfully overwrite an existing item even if overwrite was true.
  • Fix: Oops, the fix in the last release for appending to Dropbox did not fix it for prepending. Fixed now.

For a complete history of updates, visit the changelog

3 Likes

The link to ”Sending Mail with Drafts guide” has a trailing dot in the URL that throws a 404, so the correct URL should be:

Thanks, fixed the broken link