One of the app's most universal 'native' advantages, revisited.
I've spent more cumulative time playing with my Obsidian configuration in the past 24 hour hours than the sum of the whole I'd spent doing so in the 3(?) years since I installed beta (or was it alpha?) one. While I still find it janky as hell and deeply untrustworthy – among far too many other woes – I must admit that the bulk of shear hype surrounding its existence has indeed resulted in enough developer attention to achieve some technically interesting capabilities. Naturally, most of these feel absurdly redundant in context and all rely on age-old dependencies, but... well, today I uploaded the text of my almost five-year-old Microsoft Surface Laptop 2 Review to its own dedicated Archive.org page in thirteen different formats rendered using Obsidian's (desktop-only) Pandoc integration!
I lambaste with the sincere intent, at least, of being genuinely constructive, and I began upon this post hoping to do so and finally get around to highlighting one of Drafts' most essential (and taken for granted, I suspect) powers in its entirely cross-platform, system-level integration with Mail on Apple Platforms.
One of Drafts' most immediately apparent advantages as a native iOS/iPadOS/macOS application is readily found in its integration with Mail. Though I've personally managed to almost escape my twenties having yet to endure an email-heavy job, I still find the practice of sending topical/sacred information to myself to be the upmost reliable and direct means of retrieving it.
As I've configured it, within Drafts on any of its 3 platforms, all I need do is press ^M
to have the text of the current Draft sent instantly to an iCloud Mail alias I use for such things.
If I were sending to more folks than just myself on a regular basis, I'd definitely make use of Drafts' Mail Action Wizard to help simplify and solidify the process of creating a dedicated action, which almost certainly would not have the Send in Background
toggle selected, as demonstrated, for the sake of giving myself a preview of outbound messages to... important folks. For macOS users, there's also a bespoke Catalyst app called Mail Assistant, which I've yet to try.
Formatting
The parameters of the Mail action step can be filled with any combination of items from the original Drafts template tags array or from the relatively new set of mustache template tags.
The current version of my personal Send-to-Self action sent this example result using the format represented in the Gist embedded above. If you'd like, you can wrap the [body] tag (or any part of the message, actually) in double %s and select the Send as HTML
toggle to have the result rendered as HTML. (See this example.)
If – like me – you're an iCloud Mail user primarily from iOS/iPadOS, here's how to create an iCloud Mail rule for messages you've sent yourself from Drafts:
- Visit iCloud.com/mail in your web browser and authenticate.
- Open the Rules settings menu by tapping the gear icon in the upper left ⇨ Preferences ⇨ Rules.
- Create a new rule with the “Add rule” link.
- By default, the “If a message...” field selection should be “is from.” In the text entry field, enter
drafts-mail@drafts5.agiletortoise.com
. - By default, the “Then...” field selection is “Move to Folder.” I have personally set mine to “Move to Folder and Mark as Read,” but this depends on your preference. Select a folder or mailbox for Drafts messages to be moved to and click “Add.”
Publishing via Email
I've spent a lot of time this year working on integrating Drafts with NeoCities, Write.as, and other publishing services, but – for new users, especially – Drafts' mail integration offers a pathway to publishing with virtually zero configuration for those services who still offer mail-to-save/post email addresses. These include WordPress, Blogger, Write.as, LiveJournal, Evernote, Day One, Things, Todoist, and more.
Perhaps the easiest method of setting this up would involve finding your private email address for a given service(s), pasting them in the aforementioned Mail Action Wizard, titling the action by the name of the service, and installing. There's also an Email to Myself action on the Drafts Action Directory to get you started.
Drag and Drop to Formatted Markdown Hyperlinks from Apple Mail
Going the other direction, users of Apple Mail (the client) might find it pleasantly surprising that one can drag a message from Mail into Drafts in order to automatically create a markdown-formatted hyperlink that opens said message from anywhere.
For more details, see the official 'Sending Mail with Drafts' Integration Guide.
Top comments (0)