Re: [MlMt] A way to react on incoming messages?

2021-01-05 Thread Bill Cole

On 5 Jan 2021, at 17:06, Alexandre Takacs wrote:


On 3 Jan 2021, at 14:02, Robert M. Münch wrote:

Such a plug-in could check for specific mails, and send a 
notification to some chat system, etc. With this, it would be 
possible to build-up pretty neat automation solutions which are 
triggered by email.


I guess you can but is it really something that should be done in a 
mail client ?


Or maybe you have an use case that I don’t imagine…


Many email automation cases would be best implemented server-side, but 
not all can be or should be. One reason is simple practicality, in that 
the end user may have no access to email delivery mechanisms and no 
access post-delivery except via IMAP. Another is safety, because you may 
be using data that resides on the client machine and can't readily or 
safely be made available to a server-side process.


Example: For many years, despite running my own mail server, I did some 
automation via Eudora for handling spam. Because the decision of whether 
a specific message was spam and some aspects of my reaction required 
skilled human oversight, my automation only did the "safe" parts (e.g. 
identifying targets for reporting and blocking) that could be done 
programmatically and left me with just triggers to pull for sending 
messages and manipulating my router and mail server access controls. A 
few times per month, I had to adjust or just toss out what my scripts 
prepped for me.



--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] A way to react on incoming messages?

2021-01-05 Thread Robert M. Münch
On 5 Jan 2021, at 23:06, Alexandre Takacs wrote:

> I guess you can but is it really something that should be done in a mail 
> client?

Where do you want to do it if you are not running your own mail-server? I’m 
using Google, and of course I can write a script with the App Engine, but how 
can this script interact with local stuff on my machine?

> Or maybe you have an use case that I don’t imagine…

Automation that uses external services and local data. Like storing attachments 
to the right place on my machine, creating a user account, sending out some 
updates after uploading them to a server, etc.

--

Robert M. Münch


Note: The .ASC attachment contains a digital PGP signature of this email. It 
can be used to check that this email is from me and was not changed since I 
wrote it.

Hinweis: Das .ASC Datei enthält eine digitale PGP Signatur dieser Email. Mit 
dieser kann überprüft werden, dass diese Email von mir geschrieben und seit dem 
nicht verändert wurde.


signature.asc
Description: OpenPGP digital signature
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] A way to react on incoming messages?

2021-01-05 Thread Robert M. Münch
On 5 Jan 2021, at 22:08, Bill Cole wrote:

> Yes. One type of action that can be triggered by mailbox rules is "Run 
> Command" which can run any command that exists in an add-on "Bundle" (listed 
> in the Command menu, enabled via the Bundles pane in Preferences.)

Hi, thanks. I found that „run command“ rule, but didn’t know the link to 
bundles. Will take a look.

--

Robert M. Münch


Note: The .ASC attachment contains a digital PGP signature of this email. It 
can be used to check that this email is from me and was not changed since I 
wrote it.

Hinweis: Das .ASC Datei enthält eine digitale PGP Signatur dieser Email. Mit 
dieser kann überprüft werden, dass diese Email von mir geschrieben und seit dem 
nicht verändert wurde.


signature.asc
Description: OpenPGP digital signature
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] A way to react on incoming messages?

2021-01-05 Thread Alexandre Takacs



On 3 Jan 2021, at 14:02, Robert M. Münch wrote:

Such a plug-in could check for specific mails, and send a notification 
to some chat system, etc. With this, it would be possible to build-up 
pretty neat automation solutions which are triggered by email.


I guess you can but is it really something that should be done in a mail 
client ?


Or maybe you have an use case that I don’t imagine…

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] A way to react on incoming messages?

2021-01-05 Thread Bill Cole

On 3 Jan 2021, at 9:02, Robert M. Münch wrote:

Hi, is it possible to react to incoming messages? Like a plug-in where 
all received messages are run through?


Yes. One type of action that can be triggered by mailbox rules is "Run 
Command" which can run any command that exists in an add-on "Bundle" 
(listed in the Command menu, enabled via the Bundles pane in 
Preferences.)


Typically those bundles are constructed to interface with other apps, 
but it should be possible to create one that hooks into anything you can 
run from a command line. Docs are at 
https://github.com/mailmate/mailmate_manual/wiki/Bundles


--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] A way to react on incoming messages?

2021-01-03 Thread Glenn Parker

On 3 Jan 2021, at 9:02, Robert M. Münch wrote:

Hi, is it possible to react to incoming messages? Like a plug-in where 
all received messages are run through?


Such a plug-in could check for specific mails, and send a notification 
to some chat system, etc. With this, it would be possible to build-up 
pretty neat automation solutions which are triggered by email.


If you don’t care about doing it with MailMate, there’s always 
[IFTTT](https://ifttt.com/).


Glenn P. Parker
glenn.par...@comcast.net
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate