Better Email plugin discussion thread
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Better Email plugin discussion thread
Post questions, feedback, requests, bug reports, etc here.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Better Email plugin discussion thread
Hello FlyingDiver,
Thank you for sharing your plugin!
I am not exactly sure how I would set this up to delete a few undesired messages.
Could you please provide an example trigger for such a thing?
T.I.A.
Thank you for sharing your plugin!
I am not exactly sure how I would set this up to delete a few undesired messages.
Could you please provide an example trigger for such a thing?
T.I.A.
MacMini 2.3 GHz Intel Core i7 16GB DDR3
Indigo Pro 2022.1 macOS Mojave 10.14.6
Indigo Pro 2022.1 macOS Mojave 10.14.6
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
I'm not sure exactly what you're trying to do. Normally, you would use a dedicated email account for Indigo. And then delete each email after it's processed. Or maybe keep them all for archival processes. Are you trying to use this as a spam filter on a regular account? Do you want the plugin to optionally delete the message when it's done processing it? Can you give a usage scenario? With specific trigger conditions?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Better Email plugin discussion thread
Hello FlyingDiver,
Thanks for the response!
Yes I would like to use this as a spam filter on a regular account. Having certain emails optionally deleted would be super!
I was hoping that when a message came in named *@blahblah.xyz that it would be automatically deleted.
T.I.A.
Thanks for the response!
Yes I would like to use this as a spam filter on a regular account. Having certain emails optionally deleted would be super!
I was hoping that when a message came in named *@blahblah.xyz that it would be automatically deleted.
T.I.A.
MacMini 2.3 GHz Intel Core i7 16GB DDR3
Indigo Pro 2022.1 macOS Mojave 10.14.6
Indigo Pro 2022.1 macOS Mojave 10.14.6
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
I'll look into deleting emails as a trigger action, but I think you'd be better served by a real spam filter. I recommend Spam Sieve: http://c-command.com/spamsieve/
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Better Email plugin discussion thread
Yes, I have SpamSeive and have been using it for years. Was simply trying to improve the setup.
Would you please give some creative ways (triggers) that only your plugin can do?
T.I.A.
Would you please give some creative ways (triggers) that only your plugin can do?
T.I.A.
MacMini 2.3 GHz Intel Core i7 16GB DDR3
Indigo Pro 2022.1 macOS Mojave 10.14.6
Indigo Pro 2022.1 macOS Mojave 10.14.6
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
The only trigger my plugin supports is a regex pattern match on fields of the incoming email. But that does allow you to trigger on just about any string pattern in the email, if you know how to do regular expressions. But it doesn't support any specific actions on the email, so it's not suitable for use as a spam filter. And I don't under stand why you would even try if you're already using SpamSieve.
What is it about your SpamSieve setup you're trying to improve? I used to use SpamSieve, but had to give up since the service provider I was using at the time for email service couldn't handle the multiple additional IMAP connections that SpamSieve required. I solved my spam problem (to a great extent) by switching my email server to an ISP that has much better spam filtering than the web hosting company I was using before.
What is it about your SpamSieve setup you're trying to improve? I used to use SpamSieve, but had to give up since the service provider I was using at the time for email service couldn't handle the multiple additional IMAP connections that SpamSieve required. I solved my spam problem (to a great extent) by switching my email server to an ISP that has much better spam filtering than the web hosting company I was using before.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Better Email plugin discussion thread
I was in need of tweaking the Spamseive setup. Looks like I have it properly working.
Thanks for bring that to the forefront.
Thanks for bring that to the forefront.
MacMini 2.3 GHz Intel Core i7 16GB DDR3
Indigo Pro 2022.1 macOS Mojave 10.14.6
Indigo Pro 2022.1 macOS Mojave 10.14.6
Re: Better Email plugin discussion thread
Hey Joe,
Good job on the plug-in!
Is it possible to get the sender's information from the latest message?
Thanks,
Rycardo
NB You can disregard the message I sent to you earlier, I was looking at your original discussion thread which is locked.
Good job on the plug-in!
Is it possible to get the sender's information from the latest message?
Thanks,
Rycardo
NB You can disregard the message I sent to you earlier, I was looking at your original discussion thread which is locked.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
That should be easy enough. Do you just want the sender string to be available in a state property, or do you also want to be able to trigger an event on a pattern in the sender string?
joe
joe
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Better Email plugin discussion thread
Hey Joe,
Rycardo
I was only thinking of it as a state property (string value), similar to how you have Subject and Body. That way I could condition my triggers by the sender's email address.Do you just want the sender string to be available in a state property, or do you also want to be able to trigger an event on a pattern in the sender string?
Rycardo
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
Once the message sender (From header) was in a device state, triggers were basically free.
Version 1.0.1 available at https://dl.dropboxusercontent.com/u/756 ... -1.0.1.zip
Version 1.0.1 available at https://dl.dropboxusercontent.com/u/756 ... -1.0.1.zip
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Better Email plugin discussion thread
Joe,
very nice, just installed.
Thanks!
very nice, just installed.
Thanks!
Re: Better Email plugin discussion thread
Joe,
I'm just getting back into HA (now that time permits) and in the process of getting my Indigo system up and running again I stumbled across your plugin.
Question about it. Does the plugin still "check" email based on a specific minute interval? I am curious if there is a way to forgo the delay involved with "pinging" email based on a time interval. I would love to be able to push an action based on an email being received immediately.
Let me know. And thanks for your great work.
I'm just getting back into HA (now that time permits) and in the process of getting my Indigo system up and running again I stumbled across your plugin.
Question about it. Does the plugin still "check" email based on a specific minute interval? I am curious if there is a way to forgo the delay involved with "pinging" email based on a time interval. I would love to be able to push an action based on an email being received immediately.
Let me know. And thanks for your great work.
Mark
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
Sorry, out of the country with a very slow internet connection.
The email server is always polled, but you can make the interval pretty short. There's no way to trigger on a push notification from an IMAP or POP sever. Getting a push notification would require a live connection to the mail server and I don't know of any way to do that. I could look into it when I get back but it'll be very provider specific.
joe
The email server is always polled, but you can make the interval pretty short. There's no way to trigger on a push notification from an IMAP or POP sever. Getting a push notification would require a live connection to the mail server and I don't know of any way to do that. I could look into it when I get back but it'll be very provider specific.
joe
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177