<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kevin Barrett</title>
    <description>The latest articles on DEV Community by Kevin Barrett (@kevboh).</description>
    <link>https://dev.to/kevboh</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3218351%2F05d9cee6-53a1-4f55-8935-3cc5ffee575c.jpeg</url>
      <title>DEV Community: Kevin Barrett</title>
      <link>https://dev.to/kevboh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kevboh"/>
    <language>en</language>
    <item>
      <title>Send emails into Obsidian via Postmark</title>
      <dc:creator>Kevin Barrett</dc:creator>
      <pubDate>Fri, 06 Jun 2025 20:04:52 +0000</pubDate>
      <link>https://dev.to/kevboh/send-emails-into-obsidian-via-postmark-3aep</link>
      <guid>https://dev.to/kevboh/send-emails-into-obsidian-via-postmark-3aep</guid>
      <description>&lt;p&gt;This is a submission for the &lt;a href="https://dev.to/challenges/postmark"&gt;Postmark Challenge: Inbox Innovators&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;My cofounder and I run &lt;a href="https://screen.garden" rel="noopener noreferrer"&gt;screen.garden&lt;/a&gt;, a SaaS service that brings realtime collaboration and web editing to Obsidian. When we saw the Postmark challenge we realized what an opportunity Inbound email support is: we could combine it with our platform to allow emailing straight into screen.garden, and thus straight into your Obsidian vault.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fohlj6ps7gfhg497nttgd.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fohlj6ps7gfhg497nttgd.gif" alt="A small demo of emailing into an Obsidian vault"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We added a feature we're calling &lt;a href="https://screen.garden/blog/email-to-vault/" rel="noopener noreferrer"&gt;email automations&lt;/a&gt;. Email automations support custom aliases scoped to just your screen.garden team for privacy; alternatively, you can make an alias public to allow for more flexible integrations, like getting newsletters delivered straight to Obsidian.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;We can't safely share credentials here, but there are instructions on how to set this up in our linked blog post above, and a demo video follows:&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/0CR4hRGDQMM"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Code Repository
&lt;/h2&gt;

&lt;p&gt;screen.garden is closed-source—we’d be happy to give a tour of the code as-needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;screen.garden is built on an Elixir stack, using Phoenix, LiveView, and Oban, among others. We host on AWS. Here’s how we built this feature:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;We added database models for inbound email addresses, including some metadata for if any email address should be able to create a note.&lt;/li&gt;
&lt;li&gt;We added routing and a controller to act as a webhook recipient. The webhook checks the database for a matching recipient address and uses it to figure out auth (is the sender good to create a note?) and where the note should go.&lt;/li&gt;
&lt;li&gt;If everything looks good, we grab the text body from the webhook payload (thanks Postmark!) and run that through our bespoke note creation backend.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It's really a testament to the inbound email feature's design simplicity that we were able to do this so quickly and easily. Having this feature opens up a ton of workflow options with Obsidian, like subscribing to newsletters directly in Obsidian or automating remote voice notes with WhisperMemos.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>postmarkchallenge</category>
      <category>webdev</category>
      <category>api</category>
    </item>
  </channel>
</rss>
