Better Email plugin discussion thread
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
I'm going to look into implementing the IMAP IDLE protocol which, if I can get it to work properly, will eliminate the polling normally required for IMAP. This will require that your IMAP server implements IDLE as well. It'll probably be a couple weeks before I can get to it.
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,
That sounds great. Thanks for looking into this. Really appreciate your development efforts!
The idea of being able to trigger events quickly (without a poll) based on receiving an email message makes me pretty excited. A lot of potential in terms of integration.
Sent from my iPhone using Tapatalk
That sounds great. Thanks for looking into this. Really appreciate your development efforts!
The idea of being able to trigger events quickly (without a poll) based on receiving an email message makes me pretty excited. A lot of potential in terms of integration.
Sent from my iPhone using Tapatalk
Mark
Re: Better Email plugin discussion thread
Flying Diver
I am trying to schedule an email with a variable as you suggested in another forum ((%%v: 410242667%%) but cannot see how to do it.
I have version 1.0.1 of the plugin
I choose schedule and set the time
Under actions I choose Better Email - send email
Then under the device dropdown I see nothing - it is bank. How do I insert the variable text to send the variable?
I am trying to schedule an email with a variable as you suggested in another forum ((%%v: 410242667%%) but cannot see how to do it.
I have version 1.0.1 of the plugin
I choose schedule and set the time
Under actions I choose Better Email - send email
Then under the device dropdown I see nothing - it is bank. How do I insert the variable text to send the variable?
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
Did you create an SMTP device? You need an SMTP device (server) defined to send emails. Same info you use for the Indigo email send preferences should work.farberm wrote:Flying Diver
I am trying to schedule an email with a variable as you suggested in another forum ((%%v: 410242667%%) but cannot see how to do it.
I have version 1.0.1 of the plugin
I choose schedule and set the time
Under actions I choose Better Email - send email
Then under the device dropdown I see nothing - it is bank. How do I insert the variable text to send the variable?
joe
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
Here's a version of BetterEmail that supports the IDLE extension for IMAP servers. Edit the device definition to set the checkbox.
https://dl.dropboxusercontent.com/u/756 ... -1.1.0.zip
In my testing, the email was processed within a few seconds of the server getting the message.
I have no idea what happens if you happen to have an IMAP server that doesn't support IDLE.
https://dl.dropboxusercontent.com/u/756 ... -1.1.0.zip
In my testing, the email was processed within a few seconds of the server getting the message.
I have no idea what happens if you happen to have an IMAP server that doesn't support IDLE.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
"Official" release of the IDLE version of BetterEmail. Works great with my IMAP provider.
https://dl.dropboxusercontent.com/u/756 ... -1.1.1.zip
https://dl.dropboxusercontent.com/u/756 ... -1.1.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
Hey FlyingDiver,
First off, a big thank you for your contribution! I'm always amazed at the awesome things you developers out here contribute to us all, and really appreciate it.
Just looking over your Better eMail plugin, and am trying to figure out how to interact with it. For instance, I'd like to set it up like I have the default eMail management configs, where I trigger events based on Subject lines, but only from particular senders. I saw some reference to the last sender being in the device state, but don't see how to get to that data. Do you have any release notes on that? I do some basic python programming in my indigo setup, so I figured I could do it via script if not via the GUI.
Let me know if you have anything, or any suggestions on the Sender/Subject filtering, and I'll play some more and see what kind of trouble I can get into with it
Thanx,
~ken
First off, a big thank you for your contribution! I'm always amazed at the awesome things you developers out here contribute to us all, and really appreciate it.
Just looking over your Better eMail plugin, and am trying to figure out how to interact with it. For instance, I'd like to set it up like I have the default eMail management configs, where I trigger events based on Subject lines, but only from particular senders. I saw some reference to the last sender being in the device state, but don't see how to get to that data. Do you have any release notes on that? I do some basic python programming in my indigo setup, so I figured I could do it via script if not via the GUI.
Let me know if you have anything, or any suggestions on the Sender/Subject filtering, and I'll play some more and see what kind of trouble I can get into with it
Thanx,
~ken
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
Set up a Trigger on the subject line you want, then a condition on the sender (device state condition). Or vice versa. If you have some action you want done based on the subject line, restricted to a small set of senders, then that's the way to do it. Use "Any" for the conditions, then a rule for each sender email address.
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
Ah... Of course! Always looking for the complex solution, when the simple one is right there in front of me. lol. Thanx!
list of allowed variables?
I am looking for time and date variables but it would be also helpful to have the complete list of all variables that can be used in an email. Do you know where I can find this?
Sean
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: list of allowed variables?
BetterEmail doesn't define any variables. Just a few device states. But the text substitution can put in the value of any variable you create, or any state of any existing device.CraftGeek wrote:I am looking for time and date variables but it would be also helpful to have the complete list of all variables that can be used in an email. Do you know where I can find this?
If you want a time stamp in a variable, Indigo provides a "variable action" to do that. Create the variable, and then an action to set that variable immediately before your BetterEmail action.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: list of allowed variables?
Got it, Thanks!FlyingDiver wrote:BetterEmail doesn't define any variables. Just a few device states. But the text substitution can put in the value of any variable you create, or any state of any existing device.CraftGeek wrote:I am looking for time and date variables but it would be also helpful to have the complete list of all variables that can be used in an email. Do you know where I can find this?
If you want a time stamp in a variable, Indigo provides a "variable action" to do that. Create the variable, and then an action to set that variable immediately before your BetterEmail action.
Sean
Re: Better Email plugin discussion thread
Is it possible to send attachments, images, with the plugin?
Thanks,
Carl
Thanks,
Carl
Last edited by ckeyes888 on Mon Feb 01, 2016 1:50 pm, edited 1 time in total.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
No docs other than the readme in the zip file.ckeyes888 wrote:Are there any docs on the plugin?
Thought I'd try it but after setting up a mail info device I don't see it in the device menu when setting up
an action to send an email.
Also is it possible to send attachments, images, with the plugin?
Thanks,
Carl
You need to create an SMTP device before you can send emails. Did you do that?
Not currently possible to send attachments, but I've thought of adding that. Might be a little tricky to do it from the action UI. Especially if you want to send more than one attachment.
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
The readme in the zip file contains:FlyingDiver wrote:
No docs other than the readme in the zip file.
Code: Select all
# BetterEmail
Plugin for the Indigo Home Automation system.
This plugin provides enhances capabilities for sending and receiving email from within Indigo.Sean