idea4IT Posted August 14, 2014 Share Posted August 14, 2014 (edited) Hi folks, I'm working on this new workflow which allows you to control your Gmail emails with Alfred. Features Quickly access your latest emails with Alfred Supported actions:Mark As Read/Unread Archive Move To Inbox/Trash Quick reply Add label Automatically uses a dark or light icon set depending on your current Alfred theme Background cache refresh Uses the official Gmail API to securely access your Gmail account Uses OAuth 2.0 to authorize the workflow Saves your access_token securely in OS X's keychain Feel free to give some feedback! Github: https://github.com/fniephaus/alfred-gmail Download-Link: https://github.com/fniephaus/alfred-gmail/releases/latest Edited December 16, 2014 by fniephaus thec13, 40-02, Shark.Formax and 5 others 8 Link to comment
raguay.customct Posted August 14, 2014 Share Posted August 14, 2014 It complains that gflags library is not installed. I installed gflags with HomeBrew, but that did not help. I do not know that library, so not sure on how to tackle the problem. Link to comment
idea4IT Posted August 14, 2014 Author Share Posted August 14, 2014 Thanks Raguay. Looks like a dependency was missing. Could you try again with v0.2? https://github.com/fniephaus/alfred-gmail/releases/download/v0.2/Gmail-Client-for-Alfred.alfredworkflow Link to comment
raguay.customct Posted August 14, 2014 Share Posted August 14, 2014 Okay. That one works. Are you planning on multile accounts? I run 3 all the time (missions, freelance, and work). Link to comment
idea4IT Posted August 14, 2014 Author Share Posted August 14, 2014 Supporting multiple accounts should be possible but seems to require lots of work. I believe if it support multiple accounts, you'd also like to have a unified inbox, etc. which needs to be implemented as well. So probably not, at least for now... Link to comment
deanishe Posted August 15, 2014 Share Posted August 15, 2014 (edited) Very nice workflow. Richard: You should just be able to make a copy of the workflow for each account (changing the bundle ID and keyword). Your credentials are stored under the bundle ID in your Keychain, so they won't clash. Edited August 15, 2014 by deanishe Link to comment
raguay.customct Posted August 16, 2014 Share Posted August 16, 2014 Very nice workflow. Richard: You should just be able to make a copy of the workflow for each account (changing the bundle ID and keyword). Your credentials are stored under the bundle ID in your Keychain, so they won't clash. Yea, that is what I ended up doing. Just changed the keyword to differentiate accounts. Link to comment
Florian Posted August 16, 2014 Share Posted August 16, 2014 Wow that's actually great Any chance of a "mark as read" action through another modifier key (like "fn")? That'd perfectly fit the way i use my gmail. Link to comment
politicus Posted August 18, 2014 Share Posted August 18, 2014 What a great workflow! Could we only search against the unread messages? That would be awesome. Link to comment
idea4IT Posted August 19, 2014 Author Share Posted August 19, 2014 @Florian: "mark as read" action is now supported in v0.3! @politicus: all you have to do, is to replace labelIds=['INBOX'] with labelIds=['UNREAD'] in the following line: https://github.com/fniephaus/alfred-gmail/blob/0a63a64e198b7c48799ffef2e8cf89b47e6b368a/src/gmail_refresh.py#L58 I kept this workflow quite simple for now, but I could certainly turn this into a more complex client with label and global search support... Florian 1 Link to comment
politicus Posted August 19, 2014 Share Posted August 19, 2014 Awesome. Keep up the good work. Link to comment
smarg19 Posted August 19, 2014 Share Posted August 19, 2014 Damn. This is well done. Very nice, thank you. Link to comment
40-02 Posted August 19, 2014 Share Posted August 19, 2014 Awsome!!! I love it from the first sight! It what I was dreaming about for so long!!!! Is it possible to send short replys on messages via alfred? For example with command (after choosing needed conversation) - like: gmail: %this is reply text% Link to comment
40-02 Posted August 19, 2014 Share Posted August 19, 2014 I think it can become small sparrow for geeks. There hundred ways how to build interaction with gmail via alfred. Link to comment
idea4IT Posted August 20, 2014 Author Share Posted August 20, 2014 (edited) Sure, I could extend the client, so that you can send emails. How about everyone add their feature requests to the issue tracker and vote for features? https://github.com/fniephaus/alfred-gmail/issues Edited August 20, 2014 by fniephaus 40-02 1 Link to comment
idea4IT Posted August 25, 2014 Author Share Posted August 25, 2014 @leoku: I'm working on a big update including default label support (e.g. Inbox, Spam, Trash...) and quick replies! Should be ready next weekend! Link to comment
frankspin Posted August 25, 2014 Share Posted August 25, 2014 This is very awesome, nicely done. Link to comment
idea4IT Posted August 29, 2014 Author Share Posted August 29, 2014 Hey guys, So I've been working on version 1.0...and here's a first beta version: https://www.dropbox.com/s/h63h67ctjv4kz6h/Gmail-Client-for-Alfred.alfredworkflow?dl=0 Since the workflow can't delete your emails forever, there shouldn't be much to worry about. Feel free to give it a go and give some feedback! Link to comment
katyarun Posted August 29, 2014 Share Posted August 29, 2014 (edited) @fniephaus Hi! Latest workflow (initially install) not work for inbox label without first workflow's authorisation. By the way, thank you, really helpful workflows) And just one thing: both workflows don’t works if path to Alfred’s sync folder contains non-latin symbols (like russian, for example), but it’s not very important Edited August 29, 2014 by katyarun Link to comment
deanishe Posted August 29, 2014 Share Posted August 29, 2014 (edited) And just one thing: both workflows don’t works if path to Alfred’s sync folder contains non-latin symbols (like russian, for example), but it’s not very important That's 100% my fault: the problem is in a library that I wrote, which this workflow uses. I released a new version about 20 minutes ago that fixes this problem. I'm sure Fabio will update his workflow very soon to fix my error, but if you really can't wait, download the updated library from here, extract the zip file, and replace the workflow subdirectory in the Gmail workflow with the one from the zip file. That should fix the problem. Edited September 2, 2014 by deanishe Link to comment
idea4IT Posted August 29, 2014 Author Share Posted August 29, 2014 (edited) That's 100% my fault: the problem is in a library that I wrote, which this workflow uses. I released a new version about 20 minutes ago that fixes this problem. I'm sure Fabio will update his workflow very soon to fix my error, but if you really can't wait, download the updated library from here, extract the zip file, and replace the workflow subdirectory in the Gmail workflow with the one from the zip file. That should fix the problem. Don't do it, katyarun! This workflow is using a custom alfred-workflow version. The official version does not include the updater yet and will also break the workflow. I will fix everything soon...let's just wait for more bug reports Edited August 29, 2014 by fniephaus Link to comment
deanishe Posted August 29, 2014 Share Posted August 29, 2014 (edited) Oops! My bad Out of interest, in what way would the "standard" version break the workflow? Is that just down to the lacking update functionality? Edited August 29, 2014 by deanishe Link to comment
idea4IT Posted August 29, 2014 Author Share Posted August 29, 2014 Yes that's right...it wouldn't know what to do with update_config={..} Haven't done anything else to it! Link to comment
mixterdee Posted September 1, 2014 Share Posted September 1, 2014 I keep getting an error. Error in Workflow 'path to Alfred preferences' 'Labellds' The authentication for Gmail completed successfully so wondered if I need something else to make it work. Thanks in advance Link to comment
idea4IT Posted September 3, 2014 Author Share Posted September 3, 2014 I keep getting an error. Error in Workflow 'path to Alfred preferences' 'Labellds' The authentication for Gmail completed successfully so wondered if I need something else to make it work. Thanks in advance Can you provide more information on this? In which line is the workflow failing? I assume you're working with the beta version? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now