User Tools

Site Tools


pub:tech:lieer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pub:tech:lieer [2026/01/15 12:58] jamespub:tech:lieer [2026/01/16 07:12] (current) james
Line 1: Line 1:
 # lieer and gmi # lieer and gmi
  
-I want to sync some gmail accounts to notmuch.  That's always been such a pain, but lieer apparently solves some of it.  I used Gemini to walk me through the setup.  It was painful.  In the end, I had to run with BROWSER=false in my env, then paste the URL that `gmi init` spit out, paste that into the edge browser (Firefox was no good, maybe because of my plugins or security settings) and do the flow that way.  It did finally work.+I want to sync some gmail accounts to notmuch.  That's always been such a pain, but lieer apparently solves some of it.  I used Gemini to walk me through the setup.  It was painful.  In the end, I had to run with BROWSER=false in my env, then paste the URL that `gmi init` spit out, paste that into the Edge browser (Firefox was no good, maybe because of my plugins or security settings) and do the flow that way.  It did finally work
 + 
 +Although the binary is `gmi`, the Debian package is `lieer`. 
 + 
 +The config is in [my dotfiles](https://code.librehq.com/james/dotfiles).
  
 Some notes: Some notes:
Line 7: Line 11:
   * Gemini recommended I configure the API access as a Desktop App, then when that didn't work it suggested Web App.  Desktop App was fine.  The Web App recommendation was a blind alley.   * Gemini recommended I configure the API access as a Desktop App, then when that didn't work it suggested Web App.  Desktop App was fine.  The Web App recommendation was a blind alley.
   * Publishing the app got me all kinds of warnings about verification that I ignored and all is well.   * Publishing the app got me all kinds of warnings about verification that I ignored and all is well.
-  * I allowed these three scopes and only these three:+  * I allowed these three scopes and only these three, which I had to paste into the manual entry box:
  
      * https://www.googleapis.com/auth/gmail.readonly      * https://www.googleapis.com/auth/gmail.readonly
Line 15: Line 19:
      * https://www.googleapis.com/auth/gmail.modify      * https://www.googleapis.com/auth/gmail.modify
  
-Scroll down and click Save+  * It is hard to find the menus the AI pointed me at. It got easier when I realized I could click the hamburger menu in the upper left, scroll all the way down and click "View All Products" From there, I could ctrl-f.  That usually got me to the right place. 
-  * Now need to do this for my Google Workspace account too...+ 
 +  * I needed to do this for my Google Workspace account too.  That got easier when I flipped the user audience from external to internal.
pub/tech/lieer.1768499883.txt.gz · Last modified: by james

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki