# What is the simplest way to send automated notifications through Delta Chat?

**URL:** <https://forum.delta.chat/t/what-is-the-simplest-way-to-send-automated-notifications-through-delta-chat/4110>\
**Category:** Mutual Help\
**Created:** [September 6, 2025, 12:43pm UTC](https://forum.delta.chat/t/what-is-the-simplest-way-to-send-automated-notifications-through-delta-chat/4110 "2025-09-06T12:43:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![koala](https://forum.delta.chat/letter_avatar_proxy/v4/letter/k/3da27b/32.png) [@koala](https://forum.delta.chat/u/koala)\
**Post date:** [September 6, 2025, 12:43pm UTC](https://forum.delta.chat/t/what-is-the-simplest-way-to-send-automated-notifications-through-delta-chat/4110/1 "2025-09-06T12:43:28Z")

</div>

I’m migrating my email to a new provider that has significant delivery limits and that does not have great “push” support.

While trying to improve push delivery of emails, I played around with Delta Chat and realized it did push email better than many alternatives! I had heard great things about Delta Chat, but had never sat down to play with it, and I’m now thinking it’s “the future”!

I would like to use Delta Chat for notifications about my infrastructure- I don’t want to use my new provider because of their delivery limits.

I thought about just sending email to a Delta Chat email address, but chatmail servers _require_ encrypted email.

How would you got for the absolutely most minimalistic way to have a “command” like:

```auto
$ notify -s Foobar <<EOF
Content of the notification
EOF

```

That notifies me on Delta Chat?

---

<div class="post-metadata">

**Author:** ![9er](https://forum.delta.chat/user_avatar/forum.delta.chat/9er/32/2678_2.png) [@9er](https://forum.delta.chat/u/9er)\
**Post date:** [September 6, 2025, 2:12pm UTC](https://forum.delta.chat/t/what-is-the-simplest-way-to-send-automated-notifications-through-delta-chat/4110/2 "2025-09-06T14:12:31Z")

</div>

> [@Need help with sending encrypted messages and decrypting through Delta Chat](https://support.delta.chat/t/need-help-with-sending-encrypted-messages-and-decrypting-through-delta-chat/3536):
>
> My name is James and I have been trying to sent myself an encrypted message through email which gets decrypted on my phone by the Autocrypt protocol in Delta Chat using python. However when I export the key in Delta Chat, save it as public\_key.asc and use the following code with my personal webmail to send the email, Delta Chat can’t decrypt it and I just see encrypted text on both my phone and email. The python code: import gnupg import os import smtplib from email.mime.multipart import MIMEM…

> [@523 Encryption Needed: Invalid Unencrypted Mail](https://support.delta.chat/t/523-encryption-needed-invalid-unencrypted-mail/3853):
>
> I’m trying to set up a chatmail account so I can use it with both a Deltachat client and a classic client, (neomutt). (There are other posts here on Chatmail servers, so I hope my problems with getting Neomutt talking to [nine.testrun.org](http://nine.testrun.org) won’t be considered offtopic.) I had little trouble getting Neomutt talking to Nine over IMAP. So now my Deltachat messages are backed up in Maildir format (I intend to post a howto once it’s all working). The SMTP is more of a problem. Neomutt certainly thin…

Please use forum search before posting questions.

@Minim Still no progress with CLI sending to DC?

---

<div class="post-metadata">

**Author:** ![WofWca](https://forum.delta.chat/user_avatar/forum.delta.chat/wofwca/32/1702_2.png) [@WofWca](https://forum.delta.chat/u/WofWca)\
**Post date:** [September 6, 2025, 2:40pm UTC](https://forum.delta.chat/t/what-is-the-simplest-way-to-send-automated-notifications-through-delta-chat/4110/3 "2025-09-06T14:40:40Z")

</div>

> **(Edited out incorrect info)**
>
> > [@koala](#):
> >
> > chatmail servers _require_ encrypted email.
> 
> The default Chatmail server requires it only for outbound emails. You can _receive_ unencrypted emails just fine. See [`passthrough_recipients`](https://github.com/chatmail/relay/blob/ba06a4ff70e8c9a7ee41cd3e0e2b67705e8e4d71/chatmaild/src/chatmaild/ini/chatmail.ini.f#L44-L46) (added in [add support for specifying whole domains for passthrough · chatmail/relay@72df078 · GitHub](https://github.com/chatmail/relay/commit/72df078d0253ee2ef07bd200f9426f5cc3a90d97)).
> 
> Edit: see
> 
> > [@r10s](#):
> >
> > > [@WofWca](#):
> > >
> > > The default Chatmail server requires it only for outbound emails
> > 
> > this is no longer true.

But otherwise you can make a Delta Chat bot: [GitHub - deltachat-bot/deltabot-cli-py: Library to speedup Delta Chat bot development](https://github.com/deltachat-bot/deltabot-cli-py).

---

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [September 6, 2025, 4:18pm UTC](https://forum.delta.chat/t/what-is-the-simplest-way-to-send-automated-notifications-through-delta-chat/4110/4 "2025-09-06T16:18:16Z")

</div>

@WofWca’s advice is probably more relevant to the OP than the rest of this post.

Indeed there has been progress! I may even finish getting Neomutt sending Chatmails in the next day or so, assuming nothing else goes wrong, which it probably will 🙂. At which point I shall post my config, which unfortunately requires a recompile of Neomutt.

My choices are heavily constrained by my working on a Pinephone and wanting a mobile-usable client, among other things. On a desktop, using a CLI but not necessarily a client, there are probably easier ways.

You need Autocrypt functionality; this [list of tools with Autocrypt functionality](https://docs.autocrypt.org/dev-status.html) says that it is outdated, but I haven’t found better (@Simon pointed me at it). It is worth checking things not on the list; for instance, [KMail has Autocrypt support](https://nlnet.nl/project/Kmail-Encryption/). Also worth checking if GUI mail clients have command-line interfaces.

---

<div class="post-metadata">

**Author:** ![koala](https://forum.delta.chat/letter_avatar_proxy/v4/letter/k/3da27b/32.png) [@koala](https://forum.delta.chat/u/koala)\
**Post date:** [September 6, 2025, 5:21pm UTC](https://forum.delta.chat/t/what-is-the-simplest-way-to-send-automated-notifications-through-delta-chat/4110/5 "2025-09-06T17:21:49Z")

</div>

> [@WofWca](#):
>
> The default Chatmail server requires it only for outbound emails. You can _receive_ unencrypted emails just fine. See [`passthrough_recipients`](https://github.com/chatmail/relay/blob/ba06a4ff70e8c9a7ee41cd3e0e2b67705e8e4d71/chatmaild/src/chatmaild/ini/chatmail.ini.f#L44-L46) (added in [add support for specifying whole domains for passthrough · chatmail/relay@72df078 · GitHub](https://github.com/chatmail/relay/commit/72df078d0253ee2ef07bd200f9426f5cc3a90d97)).

Hmmm, I tried sending an unencrypted email from GMail to my `nine.testrun.org` and it bounced immediately. I intend to use existing servers, so I don’t think I have much leeway to change `passthrough_recipients`.

I’ve read about bots and stuff- I was just wondering what’s the shortest path to getting something running. Bots don’t seem difficult, but it seems weird to write a bot for an “immediate” one-way email delivery, instead of for a long-running process that can read and send messages.

I’m using msmtp as the posts that 9er links currently too.

My question was more… is it easier to write a bot than to send encrypted mail that `nine.testrun.org` will accept? Or use something else?

I’m just evaluating options. I can just use something else, although it looked neat to get notifications through Delta Chat- with different contacts I could apply different notification policies, etc. If I had infinite time I’d go for a bot, because it might be cool to reply to some notifications (e.g. send a reboot command if I receive an alert that package updates for a server require a reboot).

---

<div class="post-metadata">

**Author:** ![r10s](https://forum.delta.chat/user_avatar/forum.delta.chat/r10s/32/1513_2.png) [@r10s](https://forum.delta.chat/u/r10s)\
**Post date:** [September 6, 2025, 7:29pm UTC](https://forum.delta.chat/t/what-is-the-simplest-way-to-send-automated-notifications-through-delta-chat/4110/6 "2025-09-06T19:29:15Z")

</div>

> [@WofWca](#):
>
> The default Chatmail server requires it only for outbound emails

this is no longer true. **Chatmail server require end-to-end-encryption for both, incoming and outbound mails,** see [Delta Chat V2: a major security upgrade, beautified contact profiles, new email action and direct app access in chats - Delta Chat](https://delta.chat/en/2025-08-04-encryption-v2#chatmail-relays-a-second-layer-of-e2e-enforcement)

this was different in the past, and existing profiles were not changed, but for new profiles end-to-end-encryption is mandatory

---

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [September 8, 2025, 7:09pm UTC](https://forum.delta.chat/t/what-is-the-simplest-way-to-send-automated-notifications-through-delta-chat/4110/7 "2025-09-08T19:09:26Z")

</div>

On send Chatmail mails without using Deltatouch, I was going to write up what I’d done when I got it working, but perhaps I should post the bits I’m fairly sure are right as I go. I have not found it trivial, substantially because the tools are often not well-documented, though I’m sure I’m making it harder for myself. I’d think a bot might well be easier.

---

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [September 20, 2025, 4:51pm UTC](https://forum.delta.chat/t/what-is-the-simplest-way-to-send-automated-notifications-through-delta-chat/4110/8 "2025-09-20T16:51:12Z")

</div>

See [Chatmail with Neomutt](https://support.delta.chat/t/chatmail-with-neomutt/4131/1). Note I still haven’t got it working, advice welcome!

---

<div class="post-metadata">

**Author:** ![r10s](https://forum.delta.chat/user_avatar/forum.delta.chat/r10s/32/1513_2.png) [@r10s](https://forum.delta.chat/u/r10s)\
**Post date:** [October 6, 2026, 3:18pm UTC](https://forum.delta.chat/t/what-is-the-simplest-way-to-send-automated-notifications-through-delta-chat/4110/9 "2026-10-06T15:18:38Z")

</div>


