<<<---There Are No Secrets, Only Information You Don't Yet Have--->>>
A GMail space solution

Posted on Saturday 25 March 2006

I was brainstorming with Marcus at yesterday’s Fubar Friday at PodSHow HQ about my continuing gmail issues. Once again I’m at the max on space, mainly because of all the ’short’ mp3 files I receive in email. I really don’t like deleting these messages, because gmail is an excellent ‘filing cabinet’ for my stuff. I also really like the interface and the fact that it ‘remembers’ email addresses I use.

So here’s the idea: If possible, by using the gmail api, a script would log in to my main account, forward any email older than 3 months to another gmail account (e.g. backupadam@gmail.com) and trash/delete forever in my main account.

Can applescript do this?


42 Comments for 'A GMail space solution'

  1.  
    March 25, 2006 | 5:31 pm
     

    It should be possible, but as far as I know all available GMail API’s are non-official and are liable to break any time Google updates their service. I am not familiar with applescript, of course, so my opinion is of limited value. I’m more a C kind of woman.

    Probably the simplest way to handle this would be to forward all gmail to an address with a utility that forwards two copies of each message back into gmail, one to a reader account and one to a storage account.

    It would need to parse the incoming messages for the proper header information (from, to, reply to, etc) then connect to smtp.gmail.com on TCP port 25 to deliver the two copies of the message. This would work as long as all three accounts are valid and GMail supports forwarding as well as allowing off-google archiving of the data if desired.

    All these options of course, at most double your storage and thus lead to encountering the same problem again as soon as messages accumulate.

  2.  
    Herbert
    March 25, 2006 | 5:35 pm
     

    No – it can’t. You can script the browser but not access the webpages itself. Even with its GUI scripting (thru ’sysytems events’) it prob. can not be done. A poss. solution might be to scrape the page (using perl, python, php or other scripting language – curl could be handy), filterout the emails to move and then forward them also using (curl and) scripting. Anytime G changes gmail there’s a chance it will break, tho.

  3.  
    March 25, 2006 | 5:50 pm
     

    I have another idea:
    I have set up a podcast rss feed at: http://feeds.feedburner.com/currycomments.
    To have your audio comments for Adam included in this feed, upload them to a server, add them to del.icio.us with the tag “currycomments”. They will then be added to the feed, and Adam can just download the comments when he wants to.

  4.  
    March 25, 2006 | 5:59 pm
     

    I just did some quick research and found another potential option. This would only affect new emails, not old ones, but may be a help. If you go into the forwarding options on gmail (click settings then forwarding and pop), you can actually set up a filter to forward selectively. Why not set up a filter to forward all new mails with attachments to your storage account (backupadam@gmail.com)? You can set it to save a copy in your main folder as well.

    This would let you delete them from your main account as you listen to them/respond/etc and still have copies in your backup account. Then, simply go back to the web interface and manually forward old emails to the new account. As your backup account fills, you can simply create backupadam2@gmail.com, backupadam3@gmail.com, etc and update the forwarding address.

  5.  
    March 25, 2006 | 6:04 pm
     

    Very possible, but not through the GMail API.

    However: since GMail uses POP3, it would be child’s play to script out an app that does what you want via that protocol. Download the headers of your email, pick out the ones past the threshold, and then issue a forward command to your secondary (or, in a couple of months, secondary and tertiary) account.

    Can’t say I’m an Applescripter (Perl, Ruby instead…), but googling for POP3 and Applescript comes up with a few interesting alternatives for libraries to use.

  6.  
    March 25, 2006 | 6:39 pm
     

    Ed: Love the Feedburner idea. Imagine the possibilities of people subcribing to themed ideas feeds. It could open up new business ideas.

  7.  
    March 25, 2006 | 6:57 pm
     

    Unfortunately Daniel, POP3 does not have a forward command. POP3 knows nothing about sending email, only making it available for download.

    To solve the problem in future, set gmail up to forward a copy of each email (Settings/Forwarding) to a backup account, and then you can delete with impunity from your main account knowing it is also in your back up.

    One of the GDrive apps will allow you to download the current content from your GMail account (note that it isn’t supported) and then upload to the backup account. It’ll take a while (to download 2Gb – maybe not) and then upload it (bound to be slower) … but it isn’t the end of the world and is only a one off.

  8.  
    March 25, 2006 | 8:14 pm
     

    Herbert is right = programmatic page scrapping = pretending by program that you are a user using web interface is the only way. It is possible but you would need some real developer to do it – it is doeable.

    Besides using backup accounts may be risky – if accounts are not used google deletes them and it could happen that one of those backup accounts would be then deleted.

    And yes, Google changes interfaces and I was dissapointed that they totally changed for example Google Mail notifier interface and that they did proprietary in first place…

    basically your situation is fucked up – with full accounts at Google. You really need to do some fucking backup-ing and delete-ing – what denies whole idea of Gmail though.

    well, there is no simple solution of your problem. Ask your VC investors to beg at Google for a bigger account for you …

    PS. I don’t believe that Google will ever buy Podshow Inc – it will be Yahoo or AOL or some other company – that would be interested in purchase of Podshow Inc. Google will launch soon their own “PDN-like solution” (podcast hosting, injecting audio ads into podcasts) and they will not need Podshow Inc for anything.

  9.  
    March 25, 2006 | 8:59 pm
     

    Thanks Paul. Please feel free to add comments to the feed! The more the merrier :)

  10.  
    March 25, 2006 | 9:13 pm
     

    Ed Ross: don’t forget that less than 0.01% of DSC listeners will go to such ‘currycomments’ feed to listen to them. Poeple are used to listen to DSC to listen to Adam Curry COMMENTING ABOUT audio COMMENTS (what he does when he plays comments) – and practically nobody would care to go to listen to such naked ‘raw’ feed…. what makes whole idea pointless. Sorry, matey.

  11.  
    AC
    March 25, 2006 | 9:16 pm
     
  12.  
    March 25, 2006 | 9:50 pm
     
  13.  
    March 25, 2006 | 10:00 pm
     

    BTW CSB,
    I think the feed is meant as a way for ADAM to get comments w/o people emailing him the mp3, which is a big part of his Gmail problem. If folks would email the LINK to a file on another server, like he asks, his Gmail would likely be less full. Of course, this still requires the file to be put on a server, and a del.icio.us tag done, which may be beyond those same people’s abilities.

  14.  
    March 25, 2006 | 10:09 pm
     

    Jack@Get Jacked : oh-key-dock-ey, you are right, it’s for AdamC, not for listners. Still I think that it’s too complicated and too susceptible to spamming. Well, good luck with it. Personally I don’t like both parts of this solution: a) need to register at delicious, b) need to put on server.

  15.  
    March 25, 2006 | 10:21 pm
     

    http://feeds.feedburner.com/currycomments

    Subscribed

    Time to think about ways that this can be used collaboratively

  16.  
    March 25, 2006 | 10:22 pm
     

    I have to ask – what is the appeal to having ALL your mailbox data ONLY on Gmail? Is it just the interface and the ‘hosting’ on the internet for worldwide access??? Please forgive me for my ignorance in this matter, maybe someone could enlighten me. I mean, 4GB of data is almost trivial these days. One could easily copy this to your laptop HD, DVD-R or iPod and have it with you everywhere you go. I use the Apple Mail program. I have the last 3 years of mail with all my attachments always available and serchable via spotlight or within the app.

    Here’s my idea:
    Maybe Adam should start having a regular mbox file of his Gmail account being created on his Mac as a backup? I think he does always travel with the PowerBook anyway. Then he could delete the older stuff from Gmail as needed knowing that the files are backed up on his machine. All his mail would be accessible on the PowerBook even without (god forbid) an internet connection. For example on an airplane where Adam spends many hours a month, he could be listening to feedback, writing replies and pre-producing the Charlie! When the mbox files get too big he could archive them to a server which would still be accessible worldwide, albeit not searchable without importing them back into a Mail reader.

    I understand the appeal of Gmail being a cool interface and romotely hosted, and all the new mail would STILL be accessible this way (at least the latest 4GB). Maybe the soultion is a combination of using the new way and the old way together???

    Just my two friggin’ cents…

    C-Ya, Luv-Ya,

    Dave from NY

  17.  
    March 26, 2006 | 3:09 am
     

    Maybe that solves your gmail problems but it sure as hell doesn’t solve mine. I likeED gmail because it made it easy for me to store everything in one place. My audio commments, email, listener-created music, etc. I have labeling systems both manual and automatic in place. The promise of never having to delete my gmail was inviting. Now it’s ruined and for the life of me I don’t know why google would offer people a ‘G-Drive’ when they can’t even give me enough space for my EMAIL. I’ve been using my gmail account for well over a year. I don’t think a gig a quarter is too much to ask. They get ad revenue from me so it’s not exactly a free servcie.

    What crap. I wish Google understood how much this sucks. Just give us more fucking space, Sir Gay!

  18.  
    March 26, 2006 | 4:04 am
     

    All respect you Adam, coming from a similar family have enjoyed your show very much, trying to get the fam including Patricia. Yes the mother. Also famous from another world, Ireland. Very much on par with your own Patricia. Have to get her onto the casting and further away from bbc/and more to the current events as you know. Maybe onto the podsafe…hmmm. No holds barred…

    Anyways…enjoying the show and great to hear a family on the same level..

  19.  
    March 26, 2006 | 4:09 am
     

    yes it’s me danocarroll@gmail.com

  20.  
    March 26, 2006 | 4:13 am
     

    oh oh oh

    maybe ray barbee played would be good…for the unemployed skaters out there and not so unemployed…!

  21.  
    March 26, 2006 | 7:48 am
     

    Jack, thanks for clearing that up for CSB.
    I understand that the process may be difficult for some, but if they are capable of working out how to record themselves and email that recording to someone, they might just have a chance to work out how to do this. However, I’m willing to put up a screen by screen guide or something to help people out if they are stuck (when I next have the time).
    As for spamming: yes, I understand that could be a problem too, but I’ll just rely on people being nice, like Adam does with non-drm songs on the Podsafe Music Network.

    I had been looking at a lot of ways to set up this feed (combined rss feeds mostly, but none of them seemed to a: keep the enclosure tag, and b: stay valid rss), so I went looking for another way of doing it. It turned out that something I was just thinking about, came up on the page I was reading for ideas too, on the Feedburner blog, so this idea isn’t really new. It even has a name: “GroupCasting”. You can see the Feedburner groupcast to find out if that has been subject to spamming/other attacks.

  22.  
    March 26, 2006 | 8:04 am
     

    I’ll be posting a script to do this easily on my blog in the next day or so.

  23.  
    March 26, 2006 | 12:26 pm
     

    Madge: you are not constructive and you can only do bitching. Google mail is still in “beta” phase = see in upper left corner – so whining about it useless. Adam Curry single handidly created you stupid bitch, Madge – when your podcast had only 10 listeners he started promoting you and now he is paying you salary – without Adam Curry your podcast would have only 100 visitors by now and you still be working as cleaning lady. So maybe Madge, stupid bitch, you could post on your podcast request for solution of ‘copying emails betwen google mailboxes’ instead of again bitching here.

  24.  
    Uphill from Here
    March 26, 2006 | 12:51 pm
     

    and I say CSB it is you who are bitching, nothing you’ve done recently has had a positive effect in any of your campaigns re: Netherlands, podcasting, you are a hopeless whiner and the sooner you see that the better.

  25.  
    March 26, 2006 | 1:19 pm
     

    Uphill: I am not only whining but also proposing some solutions/things too. So not only whining I am…

  26.  
    March 27, 2006 | 1:10 pm
     

    Google has a solution coming for this issue for business users. I am currently in a beta test with Google whereby I modified my domain’s MX records and pointed them to Google’s servers. Once they (Google) verified ownership, I am now able to use the Google UI to read my domain mail where I can of course use Terabytes of space if I want. Of course, this only helps folks with a domain (but does include support for hosted accounts – GoDaddy, NetworkSolutions, Webhost4life, etc).

  27.  
    March 27, 2006 | 2:21 pm
     

    I’ve created a short tutorial on posting comments to the currycomments feed. Please let me know if you think there could be anything else to add to in the comments for that page.

  28.  
    March 28, 2006 | 4:20 am
     

    Ed – I’m with CSB on this one, but for a slightly different reason. It’s not that I think the process is too complicated, it’s just that I find it to be too many steps. Registering to two new sites (if you’re not already there), uploading the file to a new server, needing a specific tag on del… maybe the best solution is just for Adam to encourage people to host their comment on their own server, and send the link in the email, as potentially unreliable as that could be.

    Now, maybe this is a place for another of Adam Curry’s “new directions” (if you don’t listen to PCH, that’s only going to make sense if you read it out loud) – some sort of open server that doesn’t have the same roundabout issues as Ed’s solution as the registration might be done, let’s say, through the PDN. From there, you could upload the file to this… comment delivery network, I’ll call it (CDN?), which Adam would be able to access through a similar interface as he does for this blog or other ones, or through our favorite toy – the RSS feed.

    This is all coming off the top of my head, and I’m not so experienced with security or stability issues or anything like that, so there may be some entirely blatant reason why this wouldn’t work.

  29.  
    March 28, 2006 | 6:52 am
     

    Nick, I really don’t mind if Adam wants to take this on and run in “in house”. It was free for me to set up this system (apart from the time it took), and it doesn’t cost me anything to keep it going. It was fun learning about different RSS mixers during the time I took to come up with this solution too.
    If people use this system (and a couple of people have started putting comments on it now), then that is great, but if they don’t, then that is fine too. It is just one way to help Adam with his “inbox nightmare”. There may be other ways too, and that is fine.

    Quite a few ISPs let you have some storage space when you sing up with them, so you could host your comments there. If you use the “post to del.icio.us” bookmarklet, it could possibly end up quicker to add a comment via this system than emailing though.

  30.  
    April 18, 2006 | 10:26 pm
     

    I keep hearing Adam complaining about SPAM. There is a good solution, but I want to send Adam a hopefully entertaining audio comment. How does some one do that?

  31.  
    August 27, 2006 | 8:30 am
     

    Dave

    Interesting topic… I’m working in this industry myself and I don’t agree about this in 100%, but I added your page to my bookmarks and hope to see more interesting articles in the future

  32.  
    January 7, 2007 | 11:29 pm
     

    blog

    blog hmnfwrpqjq

  33.  
    February 5, 2007 | 2:27 am
     

    african art poster

    african art poster xedteymgqy

  34.  
    February 14, 2007 | 10:54 am
     

    homemade acne treatments

    homemade acne treatments eoyxfuyosb

  35.  
    February 15, 2007 | 6:39 am
     

    easy acne care

    easy acne care cpsibfkkuf

  36.  
    March 5, 2007 | 2:54 am
     

    beer box hat make

    beer box hat make eoykmytbov

  37.  
    April 18, 2007 | 11:50 pm
     

    pdf datenbank erstellen

    pdf datenbank erstellen ategcytvmi

  38.  
    May 23, 2007 | 4:15 pm
     

    cell singing commercial phone ringtones

    cell singing commercial phone ringtones rqcxfvuabt

  39.  
    September 6, 2007 | 4:09 am
     

    Computer Security Tips

    I couldn’t understand some parts of this article, but it sounds interesting

  40.  
    November 5, 2007 | 10:55 am
     

    Poker news sold a ground. I twitched that practice before some reason. Some molecular online poker activated this interest domestically. This cultural hospital rebuilt an action hazardously. Some tax is covetously progressive. Post-war art is some ordinary online poker.
    online poker industry – http://www.1-pacific-poker.com/

  41.  
    March 8, 2008 | 9:38 am
     

    advance cash day pay pay day cash advance advance cash day pay until…

    Perhaps international online casino loan payday say until wordpress…

  42.  
    March 8, 2008 | 7:41 pm
     

    play free 7 card stud…

    Li asian poker tour omaha poker gratis…

Leave a comment

(required)

(required)


Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.


RSS feed for comments on this post | TrackBack URI