Variable: org-link-email-description-format

org-link-email-description-format is a customizable variable defined in ol.el.gz.

Value

"Email %c: %s"

Documentation

Format of the description part of a link to an email or Usenet message.

The following %-escapes will be replaced by corresponding information:

%F full "From" field
%f name, taken from "From" field, address if no name
%T full "To" field
%t first name in "To" field, address if no name
%c correspondent. Usually "from NAME", but if you sent it yourself, it
     will be "to NAME". See also the variable org-from-is-user-regexp.
%s subject
%d date
%m message-id.

You may use normal field width specification between the % and the letter. This is for example useful to limit the length of the subject.

Examples: "%f on: %.30s", "Email from %f", "Email %c"

This variable was added, or its default value changed, in Org version
9.3.

Aliases

org-email-link-description-format (obsolete since 9.3)

Source Code

;; Defined in /usr/src/emacs/lisp/org/ol.el.gz
(defcustom org-link-email-description-format "Email %c: %s"
  "Format of the description part of a link to an email or Usenet message.
The following %-escapes will be replaced by corresponding information:

%F   full \"From\" field
%f   name, taken from \"From\" field, address if no name
%T   full \"To\" field
%t   first name in \"To\" field, address if no name
%c   correspondent.  Usually \"from NAME\", but if you sent it yourself, it
     will be \"to NAME\".  See also the variable `org-from-is-user-regexp'.
%s   subject
%d   date
%m   message-id.

You may use normal field width specification between the % and the letter.
This is for example useful to limit the length of the subject.

Examples: \"%f on: %.30s\", \"Email from %f\", \"Email %c\""
  :group 'org-link-store
  :package-version '(Org . "9.3")
  :type 'string
  :safe #'stringp)