phyllisstein / alp

A Python module for Alfred v2 workflows
174 stars 11 forks source link

Add some tools to simplify sending emails, etc #2

Closed maelp closed 11 years ago

maelp commented 11 years ago

A great deal of scripts will have to deal with sending emails, etc, it would be nice to add a Tools.mail, Tools.notification for system notifications etc

phyllisstein commented 11 years ago

I can certainly look into it! Notifications might actually be a bit easier to do than e-mail, depending on how recent the version of PyObjC bundled with OS X is.

maelp commented 11 years ago

Yes but many tools might want to send an email to a webservice (for instance send a mail to idonethis or something else)

Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Tuesday, March 19, 2013 at 12:31 , Daniel Shannon wrote:

I can certainly look into it! Notifications might actually be a bit easier to do than e-mail, depending on how recently the version of PyObjC bundled with OS X is.

— Reply to this email directly or view it on GitHub (https://github.com/phyllisstein/PyAl/issues/2#issuecomment-15109361).

phyllisstein commented 11 years ago

I just meant that I should be able to throw together a Notification Center interface by this afternoon, whereas e-mail is a harder beast to tame. I'm also not 100% convinced that there would be many use cases, since Alfred workflows tend to be quick, one-off affairs carried out while the user is sitting right there. But again, I'll look into it.

maelp commented 11 years ago

Great, thanks:)

Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Tuesday, March 19, 2013 at 12:55 , Daniel Shannon wrote:

I just meant that I should be able to throw together a Notification Center interface by this afternoon, whereas e-mail is a harder beast to tame. I'm also not 100% convinced that there would be many use cases, since Alfred workflows tend to be quick, one-off affairs carried out while the user is sitting right there. But again, I'll look into it.

— Reply to this email directly or view it on GitHub (https://github.com/phyllisstein/PyAl/issues/2#issuecomment-15110193).

phyllisstein commented 11 years ago

Alright, the Notification Center interface appears to be provisionally working. As the updated README says, there's currently no way to be alerted that the user clicked the notification, but I'm working on it.

phyllisstein commented 11 years ago

I've now implemented a simple e-mail class as well, so I'm going to go ahead and close this. Please don't hesitate to open another issue if something goes wrong with either of these classes.

maelp commented 11 years ago

awesome thanks

Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Tuesday, March 19, 2013 at 18:37 , Daniel Shannon wrote:

I've now implemented a simple e-mail class as well, so I'm going to go ahead and close this. Please don't hesitate to open another issue if something goes wrong with either of these classes.

— Reply to this email directly or view it on GitHub (https://github.com/phyllisstein/PyAl/issues/2#issuecomment-15130533).