TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Setting up Gmail in Doom Emacs using mbsync and mu4e

149 点作者 erwald超过 3 年前

13 条评论

rvdginste超过 3 年前
I discovered Doom Emacs a couple of months ago and it made me use emacs more often again. Doom Emacs is well made and makes configuration of emacs a lot faster and easier. I&#x27;ve noticed that a lot of file types have support from an LSP server and setting that up is also easy.<p>Long time ago, I used to read email using wanderlust on emacs. I remember I really liked it, it was very powerfull in handling email and it had really good imap (and offline) support. The only drawback was related to handling html email. Back then that was not that much of a problem because I used it for a lot of mailinglists which were typically text only, and the remaining email was often sent in both a text and a html version.<p>Anyone using email in emacs and has a good solution to deal with html email? Both receiving and sending? I kinda remember reading about people writing email in markdown and have it converted to html when sending it out.
评论 #29133874 未加载
User23超过 3 年前
&gt; Wait, why did I do this again? ... in this case for example by linking directly to email from org-mode files<p>Org-mode. Capturing whatever into the appropriate note is wonderful. These days about 80% of the time my answer to why Emacs is org-mode. Not that there aren&#x27;t other great note taking options, but I&#x27;ve yet to find one that integrates so fully with, well, everything.<p>For all the doubters, I was right there with you 6 months ago. Who cares about yet another markdown clone am I right? Perhaps someone else can explain better, but in my case no amount of explanation really helped, I didn&#x27;t get it until I did it.
评论 #29133613 未加载
eddieh超过 3 年前
You might want to store application specific passwords in the Keychain.<p>Here is how to do it in .mbsyncrc<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;eddieh&#x2F;8c853c6cf8ffb3ad87e0720eb50f8134" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;eddieh&#x2F;8c853c6cf8ffb3ad87e0720eb50f8...</a><p>And here is how to do it in .msmtprc<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;eddieh&#x2F;5b4df4a8a98ea202e6ebb020871b0f6d" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;eddieh&#x2F;5b4df4a8a98ea202e6ebb020871b0...</a>
评论 #29134092 未加载
neilv超过 3 年前
If anyone wants to try email in Emacs, two very productive options I used, years ago were:<p>* VM <a href="https:&#x2F;&#x2F;www.nongnu.org&#x2F;viewmail&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.nongnu.org&#x2F;viewmail&#x2F;</a><p>* Gnus <a href="https:&#x2F;&#x2F;www.gnus.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.gnus.org&#x2F;</a><p>I don&#x27;t know about the current security of these.<p>I used both of them with BBDB contacts database (which I found much more useful than anything that JWZ&#x27;s employer did with addressbooks, then or since): <a href="https:&#x2F;&#x2F;www.jwz.org&#x2F;bbdb&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.jwz.org&#x2F;bbdb&#x2F;</a> <a href="https:&#x2F;&#x2F;www.emacswiki.org&#x2F;emacs&#x2F;CategoryBbdb" rel="nofollow">https:&#x2F;&#x2F;www.emacswiki.org&#x2F;emacs&#x2F;CategoryBbdb</a>
georgewsinger超过 3 年前
Has anyone switched from Spacemacs to Doom Emacs? Are there special advantages Doom offers that make this switch worthwhile?
评论 #29134464 未加载
评论 #29134039 未加载
评论 #29133942 未加载
评论 #29133975 未加载
评论 #29135015 未加载
评论 #29137082 未加载
cashweaver超过 3 年前
Great write up! I would suggest using OAuth2 rather than the Less Secure App settings (<a href="https:&#x2F;&#x2F;cashweaver.com&#x2F;blog&#x2F;read-email-in-emacs-with-mbsync-isync-and-mu4e" rel="nofollow">https:&#x2F;&#x2F;cashweaver.com&#x2F;blog&#x2F;read-email-in-emacs-with-mbsync-...</a>).<p>I also wrote up a guide for using notmuch, which has quickly become my preferred emacs email solution: <a href="https:&#x2F;&#x2F;cashweaver.com&#x2F;blog&#x2F;read-email-from-gmail-with-notmuch-and-lieer" rel="nofollow">https:&#x2F;&#x2F;cashweaver.com&#x2F;blog&#x2F;read-email-from-gmail-with-notmu...</a>
评论 #29137328 未加载
m4lvin超过 3 年前
If you are not on GMail but have SSH access to your Maildir, a nice (faster) alternative to mbsync or offlineimap is &quot;Sync Mail Dir&quot;, short smd: <a href="http:&#x2F;&#x2F;syncmaildir.sourceforge.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;syncmaildir.sourceforge.net&#x2F;</a> It works well, but unfortunately it needs a new maintainer: <a href="https:&#x2F;&#x2F;github.com&#x2F;gares&#x2F;syncmaildir" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gares&#x2F;syncmaildir</a>
bickwhale超过 3 年前
I&#x27;ve been using Neomutt for some time now and I&#x27;m already contemplating ditching it. Fewer emails these days are purely text, viewing them brings me right back to the browser anyways. Never got into the Org-Mode hype for Doom Emacs. I do love Magit though, it remains the best git tool I&#x27;ve used to date, but the pain of wrestling with some of my lsp plugins (Looking at ESS) has made waste more time than anything.
评论 #29133510 未加载
评论 #29133958 未加载
codethief超过 3 年前
Has anyone here used both offlineimap and mbsync and can speak to how these two compare?
评论 #29134501 未加载
评论 #29137486 未加载
kangaroopouch超过 3 年前
I&#x27;m comfortable with Emacs for programming, Org and RSS.<p>I&#x27;ve tried using email from Emacs a number of times, but never had a setup that I stick with.<p>All modes that used IMAP would block.<p>notmuch.el was nice but distributed read-state between two DBs, which felt brittle.<p>I use Thunderbird. I&#x27;m keen to use email from Emacs, if I can find a decent solution.
评论 #29146126 未加载
评论 #29136002 未加载
jfmc超过 3 年前
I&#x27;m very happy with mbsync and mu4e. The only drawback is that email fetching+indexing can be very slow (10 to 30 seconds), compared with the instantaneous gmail web interface. I&#x27;m not sure if this is poor configuration on my side, or some other bottlenecks (mbsync, mu indexing, IMAP protocol).
评论 #29133522 未加载
评论 #29135486 未加载
评论 #29134012 未加载
taeric超过 3 年前
Would be great if there was an option for those of us that have enabled the &quot;2-step verification&quot; setting for our account. :(
评论 #29134658 未加载
hnrj95超过 3 年前
notmuch is great, too