> Uwe Brauer writes: > Looks like the %(expr) escapes are evaluated in the *Capture* buffer, > not the buffer where you started the capture. You might have to do: > (defun my-extract-cc () > (interactive) > (with-current-buffer (org-capture-get :original-buffer) > (mail-decode-encoded-address-string > (gnus-fetch-original-field "cc")))) I just realized that I might use that template, even for messages with empty CC fields, however in that case my template will fail. How can I add something like (if cc-non-empty (with-current-buffer (org-capture-get :original-buffer) (mail-decode-encoded-address-string (gnus-fetch-original-field "cc")))) thanks