Hot answers tagged

16 votes
Accepted

Outlook Calendar in org agenda

I solved this myself using excorporate. To activate and integrate excorporate I used the following configuration in my .spacemacs (since I am using spacemacs) I added excorporate to dotspacemacs-...
bombadil's user avatar
  • 547
14 votes

Reading and writing email with emacs

Notmuch I use notmuch for my emails in emacs. It does only operate on local mails which needed to be stored one message per file and I use maildir folders to which my smtp-server delivers. It ...
11 votes
Accepted

How to warn before sending email if Subject: is empty

One way is to hook into message-send-hook: message-send-hook is a variable defined in ‘message.el’. Its value is nil This variable may be risky if used as a file-local variable. Documentation: ...
Basil's user avatar
  • 12.2k
10 votes
Accepted

send mail later in Gnus

There is, you need to: ; Activate delayed messages: (gnus-delay-initialize) And this is also handy: ; Remove date, so delayed messages (C-c C-j) don't get a date until ; sent <mailman.1180....
asjo's user avatar
  • 1,047
9 votes

mu4e folders for multiple accounts (contexts)

You can't set mu4e-maildir in contexts. cf. http://www.djcbsoftware.nl/code/mu/mu4e/Contexts-example.html You can set any kind of variable; including settings for mail servers etc. However, ...
lurdan's user avatar
  • 1,071
7 votes

Reading and writing email with emacs

WANDERLUST: https://github.com/wanderlust/wanderlust FEATURES: Implementation in elisp only. Support of IMAP4rev1, NNTP, POP(POP3/APOP), MH and Maildir. Integrated access to messages based on ...
lawlist's user avatar
  • 18.9k
7 votes

Reading and writing email with emacs

I was a happy user of mew for many years. I haven't used emacs for reading and writing mail for a long time now, so this information may well be outdated. Hopefully, more recent mew users can fill it ...
7 votes

mu4e: how to stop the unarchiving of entire threads when new message arrives?

You may have display of "related messages" turned on. Try pressing W (note: capital) while in your inbox (mu4e-headers-toggle-include-related) and seeing if those messages disappear. If this is what ...
Stuart Hickinbottom's user avatar
6 votes

`mu4e-contexts` multiple gmail accounts using incorrect smtp credentials

It's been almost two years since the question was asked, but I have just had the same problem and I managed to solve it using the smtpmail-smtp-user variable. In the manual it says: If the variable ...
mange's user avatar
  • 161
6 votes
Accepted

How to prevent mu4e from checking mail when the internet is down?

Use wrapper shell script. Below please find trivial sample script checking connection status as reported by Unix/Linux NetworkManager. #!/bin/sh # exit if there is no internet connection /usr/bin/nm-...
AnFi's user avatar
  • 173
5 votes
Accepted

Gnus doesn't see mail, even though files are there

If Gnus doesn't see some or all mail in your mail directory, even though the files are there, it may be for 2 reasons. You miss or have corrupted an .overview file. An .overview file is called a NOV ...
Mirzhan Irkegulov's user avatar
5 votes
Accepted

How to display plain text attachments inline with mu4e?

Is there a way to let mu4e display certain attachments inline with the email text? The short answer is "no." mu concatenates all text/plain parts to form the body of a message--- both for indexing ...
Constantine's user avatar
  • 9,092
5 votes

Difference between C-x m and M-x mail

I know nothing about mail in Emacs, but running C-h k C-x m tells me that C-x m runs the command compose-mail, which is different from mail. This is presumably why they behave differently. You can ...
Resigned June 2023's user avatar
5 votes

Which, if any, of the emacs email programs is written exclusively in elisp?

The following Emacs mailers are written entirely in Emacs Lisp: RMAIL; Gnus; Wanderlust; VM. The following Emacs mailers are mostly written in Lisp, but use some components written in C: Notmuch; ...
jch's user avatar
  • 5,700
5 votes
Accepted

Upload ICS calendar file to Google Calendar

There is a command line interface to Google Calendar called gcalcli. You can install it using pip: pip install gcalcli In order to import calendar files, gcalcli requires the vobject library to be ...
legoscia's user avatar
  • 6,042
5 votes

How to prevent mu4e from checking mail when the internet is down?

(Posting this Q&A combo since it took me a while to figure out, and it might save someone else the trouble.) Based on this answer to a question on how to test for an internet connection within ...
Dan's user avatar
  • 32.7k
5 votes
Accepted

Add date to mu4e email when forwarding or replying

mu4e uses message.el to edit the messages. The documentation for message-citation-line-function in that package shows: Function called to insert the "Whomever writes:" line. Predefined ...
Muihlinn's user avatar
  • 2,594
4 votes
Accepted

How would you do a mail merge?

Try this Create a Named Table #+NAME: my-data | Hostname-variable |username-variable | password-variable | |-------------------+------------------+-------------------| | Hostname1 |Username1 ...
Melioratus's user avatar
  • 4,564
4 votes

Remove attachments from emails

I found the solution hidden in a closed issue on GitHub (thanks to @mankoff): (defun my-remove-attachment (msg num) "Remove attachment." (let* ((attach (mu4e~view-get-attach msg num)) (...
tmalsburg's user avatar
  • 2,540
4 votes
Accepted

GNUS - mark all articles in the thread as Unread

3.9.2 Thread Commands --------------------- ‘T k’ ‘C-M-k’ Mark all articles in the current (sub-)thread as read (‘gnus-summary-kill-thread’). If the prefix argument is positive, remove ...
Dmitry Alexandrov's user avatar
4 votes
Accepted

Send in mail mode?

Inside any major mode you can type M-x describe-mode (C-h m) to view its description and key bindings. mail-mode reports: C-c C-s mail-send (send the message) C-c C-c mail-send-and-exit (send the ...
Basil's user avatar
  • 12.2k
4 votes

Configure mu4e for Gmail-style citation (reply quoting)

You need to customize message-citation-line-function. Something like this would help (it may require date formatting to please your needs): (defun my/message-insert-citation-line () "Based off `...
Felipe Lema's user avatar
4 votes

Changing html renderer in Wanderlust

Following @lawlist's idea of digging through the code, I have found one possible answer. It is not entirely satisfactory, but good enough for the emails I have received so far. This answer relies on ...
Juanjo's user avatar
  • 151
4 votes

Trying to separate Private and Work email using mu4e contexts in emacs

There were a number of issues (mostly my ignorance) that causes at least some of my problems. Since this could happen to others, I'll post the solutions here. Things seem to be working fine ...
AstroFloyd's user avatar
4 votes

How to draft email programmatically?

Something as simple as this snippet will work, the only pitfall is that mu4e should be loaded before trying to select a context or it'll fail. From here you can "complicate" the thing as ...
Muihlinn's user avatar
  • 2,594
3 votes

attach multiple files from the same directory to an email message?

I like to use helm-find-files for this. You navigate to where the files are, mark the ones you want with C-spc, and attach them with C-c C-a (or press tab and find the attach files to email action). ...
John Kitchin's user avatar
  • 11.6k
3 votes

attach multiple files from the same directory to an email message?

open up a GUI file browser and drag the files to your emacs draft window/buffer
user3357659's user avatar
3 votes

How to control quoting of original message when replying?

The intended way to achieve Gmail-style citations is the following: (with-eval-after-load 'message (setq message-cite-style message-cite-style-gmail)) Inspecting the value and documentation of the ...
Basil's user avatar
  • 12.2k
3 votes

Remove attachments from emails

The solution given by @tmalsburg worked for me until I switched to the gnus-based message view, which is now the default. Below is my attempt to adapt this solution to the new view mode. Note that I ...
Sylphio's user avatar
  • 31
3 votes

How to export org files to plain text files as it looks like in clean view?

This gets pretty close I think although I haven't tested extensively: # -*- org-ascii-headline-spacing:(0 . 0); org-ascii-bullets:((ascii 42) (latin1 167) (utf-8 8226)) -*- #+OPTIONS: H:0 num:nil toc:...
Ollie Saunders's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible