News for hackers. Stuff that matters.
Re:Automate Your Life: Sending Emails by Jtsummers on Wednesday March 13, 2013 @06:34PM (#5371582)

  These are joke examples — I strongly advise against automating discussions with
  your mother — but they aren’t so farfetched
A friend of mine did something like this. Rather than a nightly or weekly phone call, he'd send out an email every morning to his parents. Eventually he turned it into a cron job when he realized he was sending almost the exact same thing every day, but then he went home for Christmas. So Christmas Eve, family all together, 'bing' an email to the parents.
Re:Automate Your Life: Sending Emails by Evbn on Wednesday March 13, 2013 @10:43PM (#5372771)
I did the same for a short while. Mom loved it.
Re:Automate Your Life: Sending Emails by Bjoern on Wednesday March 13, 2013 @08:44PM (#5372327)
If you like the idea of this then you will also like this one. It goes a bit further, still on my todo list for interesting fun projects.

http://smarterware.org/6172/hilary-mason-how-to-replace-your...

Hillary Mason

Substitute yourself by some small scripts Document classification

Just stumbled upon a YouTube clip of one of the best Ignite presentations I've seen, by Hilary Mason, a computer scientist at Bit.ly. Mason wrote a series of scripts that auto-respond to email with particular content, and auto-nag folks she's emailed but hasn't gotten a response from yet. Hit the play button to hear more. She says once the code's fit for sharing she'll put it up on GitHub. Cannot wait.

http://www.hilarymason.com/blog/ignitenyc-the-video/

Re:Automate Your Life: Sending Emails by alexpopescu on Wednesday March 13, 2013 @10:19PM (#5372697)
As far as I checked, today is 2013...
Re:Automate Your Life: Sending Emails by Bjoern on Thursday March 14, 2013 @03:45PM (#5377235)
Ah sorry for the misunderstanding the paragraph was just copy&pasted by me from my old notes file.
Re:Automate Your Life: Sending Emails by jpswade on Wednesday March 13, 2013 @06:40PM (#5371602)
Speaking of "Don't Repeat Yourself", tools for these problems already exist.

Namely Google Calendar for those "personal alerts" and ifttt.com for reading a feed an emailing you or whatever.

Not that it's a bad idea to use this, it's just not everything needs to be programmed from scratch, there's quite often a decent tool to do the job already.

Re:Automate Your Life: Sending Emails by pluies_public on Wednesday March 13, 2013 @07:01PM (#5371676)
Indeed, and if you want to stick to the command line... Use `mail` and script away.
Re:Automate Your Life: Sending Emails by astangl on Wednesday March 13, 2013 @10:26PM (#5372710)
Yeah, I came here to say the same thing. For all the people running some Unix variant with local mail, the Python script seems pointless, versus just calling mail.
Re:Automate Your Life: Sending Emails by jwilkins on Wednesday March 13, 2013 @07:04PM (#5371692)
or cli via https://github.com/dcadenas/gmail_sender

create ~/.gmail and the post's example is:

   gmail -t [email protected] -s "Automate your life: sending emails" -c "Why'd the elephant sit on the marshmallow?"
plus you can have a default receiver and

    sha256deep -rl / | gmail
also useful is filtering via https://github.com/antifuchs/gmail-britta
Re:Automate Your Life: Sending Emails by Zaheer on Wednesday March 13, 2013 @07:31PM (#5371847)
Is there a limit on how many emails you can send through this?

Edit: I should add that I use Google Scripts to automate a lot of responses to frequent support emails I get. These are really well categorized so that if the program doesn't understand what the user wants, it goes to another folder where I personally review it. Works great so far but working with Python I may be able to build something more powerful.

Re:Automate Your Life: Sending Emails by tlarkworthy on Wednesday March 13, 2013 @06:13PM (#5371475)
Um, are you not inviting an email bomb in your inbox?
Re:Automate Your Life: Sending Emails by ColinWright on Wednesday March 13, 2013 @06:18PM (#5371504)
Great way to harvest programmer email addresses ...
Re:Automate Your Life: Sending Emails by bluesmoon on Thursday March 14, 2013 @11:26AM (#5375547)
if you have cron configured correctly, anything that a cron job prints to STDOUT will be emailed to the configured email address.

this is how we did newsletters back in the day.