 ;(setq shr-color-visible-luminance-min 80)
 
 (setq mu4e-compose-complete-only-personal t)
+(setq mu4e-org-contacts-file "~/org/contacts.org")
+(add-to-list 'mu4e-headers-actions
+	     '("org-contact-add" . mu4e-action-add-org-contact) t)
+(add-to-list 'mu4e-view-actions
+	     '("org-contact-add" . mu4e-action-add-org-contact) t)
+
 
 ;; http://www.djcbsoftware.nl/code/mu/mu4e/Compose-hooks.html#Compose-hooks
 (add-hook 'mu4e-compose-mode-hook

       ("/Tickets"             . ?k)
       ))

(setq mu4e-bookmarks
 `(
   ,(make-mu4e-bookmark
     :name  "Unread messages"
     :query "flag:unread AND NOT maildir:/[Gmail]/Spam AND NOT flag:trashed"
     :key ?u)
   ,(make-mu4e-bookmark
     :name "Today's messages"
     :query "date:today..now AND NOT maildir:/[Gmail]/Spam AND NOT flag:trashed"
     :key ?t)
   ,(make-mu4e-bookmark
     :name "Last 7 days"
     :query "date:7d..now AND NOT maildir:/[Gmail]/Spam AND NOT flag:trashed"
     :key ?w)
   ,(make-mu4e-bookmark
     :name "Alerts"

     :query "maildir:/Tickets"
     :key ?k)
   ,(make-mu4e-bookmark
     :name "Lists"
     :query "maildir:/Lists"
     :key ?l)
   ,(make-mu4e-bookmark
     :name "Logs"
     :query "flag:unread AND (maildir:/Logs OR maildir:/Logs/Backups)"
     :key ?L)
   ))

;; allow for updating mail using 'U' in the main view:
(setq
 ;;mu4e-get-mail-command "true"   ;; implicit check (if running offlineimap in bg)
 ;;mu4e-get-mail-command "offlineimap -o"   ;; or fetchmail, or ...
 ;;mu4e-get-mail-command "~/bin/sync-mail.sh"   ;; or fetchmail, or ...
 mu4e-get-mail-command "systemctl --user start mu-index.service"   ;; or fetchmail, or ...
 ;;mu4e-update-interval 600             ;; update time (seconds)
 mu4e-update-interval nil             ;; update time (seconds)
 )

;; don't automatically update the buffer for new messages
(setq mu4e-headers-auto-update nil)

;; speed up checks
(setq
