Better Email plugin discussion thread

Posted on
Sun Dec 27, 2015 10:05 am
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
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

Posted on
Sun Dec 27, 2015 10:09 am
zini offline
Posts: 59
Joined: May 19, 2013

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

Mark

Posted on
Sat Jan 02, 2016 2:57 pm
farberm offline
Posts: 393
Joined: Feb 24, 2008

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?

Posted on
Sat Jan 02, 2016 3:12 pm
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

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?


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.

joe

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Jan 13, 2016 4:28 pm
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
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.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Jan 15, 2016 10:58 am
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
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

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Jan 23, 2016 1:48 pm
shrxman offline
Posts: 83
Joined: Apr 22, 2015

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

Posted on
Sat Jan 23, 2016 2:38 pm
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
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

Posted on
Mon Jan 25, 2016 10:43 pm
shrxman offline
Posts: 83
Joined: Apr 22, 2015

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!

Posted on
Thu Jan 28, 2016 10:00 am
CraftGeek offline
User avatar
Posts: 107
Joined: May 13, 2015

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

Posted on
Thu Jan 28, 2016 10:10 am
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: list of allowed variables?

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?


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.

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

Posted on
Thu Jan 28, 2016 4:04 pm
CraftGeek offline
User avatar
Posts: 107
Joined: May 13, 2015

Re: list of allowed variables?

FlyingDiver wrote:
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?


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.

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.

Got it, Thanks!

Sean

Posted on
Mon Feb 01, 2016 1:45 pm
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: Better Email plugin discussion thread

Is it possible to send attachments, images, with the plugin?

Thanks,

Carl
Last edited by ckeyes888 on Mon Feb 01, 2016 1:50 pm, edited 1 time in total.

Posted on
Mon Feb 01, 2016 1:49 pm
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

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


No docs other than the readme in the zip file.

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

Posted on
Sat Feb 13, 2016 10:22 am
CraftGeek offline
User avatar
Posts: 107
Joined: May 13, 2015

Re: Better Email plugin discussion thread

FlyingDiver wrote:

No docs other than the readme in the zip file.



The readme in the zip file contains:
Code: Select all
# BetterEmail

Plugin for the Indigo Home Automation system.

This plugin provides enhances capabilities for sending and receiving email from within Indigo.


Do you have another readme that has more information?

Sean

Who is online

Users browsing this forum: No registered users and 2 guests