I think code like this would also work:
#+BEGIN_SRC emacs-lisp
(let* ((url "
https://mail.google.com/mail?view=cm&fs=1&to=duncan...@indeedemail.com";)
(struct (url-generic-parse-url url))
(filename (url-filename struct)))
(cadr (assoc "to" (url-parse-query-string filename
#+EN
Thanks Kyle, got it to work this way:
#+BEGIN: propview :cols ((car (s-split " " ITEM)) (s-chop-prefix "gmail:"
(my/extract-email-from-link EMAIL_ADDRESS))) :id "candidates" :match
"testthis" :wrap example
| (car (s-split " " ITEM)) | (s-chop-prefix "gmail:"
(my/extract-email-from-link EMAIL_ADD
Ian Garmaise writes:
> This is working well, except for the property used for the email address.
> Unfortunately, I stored this as a gmail link. This makes it difficult to
> extract the actual email address using org-collector as follows:
>
> #+BEGIN: propview :cols ((car (s-split " " ITEM)) EMA
I have created a kind of mini CRM using properties.
Now I need to extract data from the entries to create a CSV file for use
with an external email tool.
I have used org-collector.el to extract tagged entries to a table, on which
I then use orgtbl-to-csv to create the CSV file.
This is working we