title: org-mode: How to correctly capture email addresses?
body: <p>I would like to capture contacts (name, email address,..) with org-mode and thus setup 
  the following in .emacs:</p>
  
  <pre><code>(setq org-capture-templates
        '(("t" "TODO in ~/org/agenda.org -&gt; Tasks" entry (file+headline 
  "~/org/agenda.org" "Tasks")
           "* TODO %?\nSCHEDULED: %^t\n%U %a")
          ("c" "Contact in ~/org/contacts.org -&gt; Contact" entry (file+headline 
  "~/org/contacts.org" "Contact")
           "* %?%(org-contacts-template-name) %^g
  :PROPERTIES:
  :EMAIL: %(org-contacts-template-email)
  :URL:
  :WORK:
  :HOME:
  :MOBILE:
  :LOCATION:
  :BIRTHDAY: 
  :NOTE:
  :END:")))
  </code></pre>
  
  <p>I can easily capture contacts with C-c c c, it prompts for the name, a tag, and 
  the email address. However, instead of an output like </p>
  
  <pre><code>* My contact                         :my.tag:
    :PROPERTIES:
    :EMAIL: address@hidden
    :URL:
    :WORK:
    :HOME:
    :MOBILE:
    :LOCATION:
    :BIRTHDAY: 
    :NOTE:
    :END:
  </code></pre>
  
  <p>I obtain:</p>
  
  <pre><code>* My contact                         :my.tag:
    :PROPERTIES:
    :EMAIL:
    :URL:
    :WORK:
    :HOME:
    :MOBILE:
    :LOCATION:
    :BIRTHDAY: 
    :NOTE:
    :EMAIL: address@hidden
    :END:
  </code></pre>
  
  <p>So the problem is that the first :EMAIL: is ignored and instead a second 
  :EMAIL: is inserted before :END:. How can I obtain the correct output (as 
  described above)?</p>