maddy icon indicating copy to clipboard operation
maddy copied to clipboard

Feature request: Automatically send new emails to Apprise as they arrive

Open spysir opened this issue 1 year ago • 4 comments

This would be an amazing design if it supported sending to Apprise ! Apprise - Push Notifications that work with just about every platform! https://github.com/caronc/apprise

spysir avatar Dec 04 '24 13:12 spysir

maddy has system command filter, perhaps you could use that to call apprise?

Something like –

msgpipeline apprise {
    default_destination {
        check {
            command apprise -t "Email from {sender}" [more apprise arguments here]
        }

        deliver_to dummy
    }
}

Instead of calling apprise directly you could also call a wrapper script which reads the raw message from /dev/stdin, parses it and extracts the Subject header, perhaps extracts a fragment of message body, etc., and then calls apprise.

cuu508 avatar Jan 21 '25 07:01 cuu508

I would go with implementing a simple LMTP/SMTP bridge that would call apprise. Looks like somebody already did it: https://github.com/kenneth-church/junction

foxcpp avatar Jan 25 '25 11:01 foxcpp

If a generic-purpose target.http is ever implemented, it might be used with https://github.com/caronc/apprise-api

foxcpp avatar Jan 25 '25 12:01 foxcpp

I would go with implementing a simple LMTP/SMTP bridge that would call apprise. Looks like somebody already did it: https://github.com/kenneth-church/junction

Automatically forward to Apprise if a new email is received ,I think such a feature is very useful

spysir avatar Jan 25 '25 12:01 spysir