TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Automate Your Life: Sending Emails

30 pointsby dbieberabout 12 years ago

7 comments

Jtsummersabout 12 years ago
<p><pre><code> These are joke examples — I strongly advise against automating discussions with your mother — but they aren’t so farfetched </code></pre> 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.
评论 #5372771 未加载
Bjoernabout 12 years ago
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.<p><a href="http://smarterware.org/6172/hilary-mason-how-to-replace-yourself-with-a-small-shell-script" rel="nofollow">http://smarterware.org/6172/hilary-mason-how-to-replace-your...</a><p>Hillary Mason<p>Substitute yourself by some small scripts Document classification<p>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.<p><a href="http://www.hilarymason.com/blog/ignitenyc-the-video/" rel="nofollow">http://www.hilarymason.com/blog/ignitenyc-the-video/</a>
评论 #5372697 未加载
jpswadeabout 12 years ago
Speaking of "Don't Repeat Yourself", tools for these problems already exist.<p>Namely Google Calendar for those "personal alerts" and ifttt.com for reading a feed an emailing you or whatever.<p>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.
评论 #5371676 未加载
jwilkinsabout 12 years ago
or cli via <a href="https://github.com/dcadenas/gmail_sender" rel="nofollow">https://github.com/dcadenas/gmail_sender</a><p>create ~/.gmail and the post's example is:<p><pre><code> gmail -t dbieber@princeton.edu -s "Automate your life: sending emails" -c "Why'd the elephant sit on the marshmallow?" </code></pre> plus you can have a default receiver and<p><pre><code> sha256deep -rl / | gmail </code></pre> also useful is filtering via <a href="https://github.com/antifuchs/gmail-britta" rel="nofollow">https://github.com/antifuchs/gmail-britta</a>
Zaheerabout 12 years ago
Is there a limit on how many emails you can send through this?<p>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.
tlarkworthyabout 12 years ago
Um, are you not inviting an email bomb in your inbox?
评论 #5371504 未加载
bluesmoonabout 12 years ago
if you have cron configured correctly, anything that a cron job prints to STDOUT will be emailed to the configured email address.<p>this is how we did newsletters back in the day.