                '("View in browser" . mu4e-msgv-action-view-in-browser) t)
   (defun run ()
     (interactive)
-    (mu4e)
-    (mu4e-update-mail-and-index nil))
+    (mu4e))
   (global-set-key (kbd "C-c m") 'run))
 
 (use-package helm-mu
   :if (not (kelly?))
   :config (define-key mu4e-headers-mode-map (kbd "C-s") 'helm-mu))
+
+(use-package mu4e-alert
+  :if (not (kelly?))
+  :init
+  (setq mu4e-alert-interesting-mail-query
+        (concat "flag:unread"
+                " AND NOT flag:trashed"
+                " AND NOT maildir:/[Gmail].Trash"
+                " AND NOT maildir:/[Gmail].Spam"))
+  (add-hook 'after-init-hook #'mu4e-alert-enable-mode-line-display))
 
 (defun my-c-mode-font-lock-if0 (limit)
   (save-restriction

(defalias 'after 'with-eval-after-load)
(delete-selection-mode t)
(show-paren-mode 1)
(transient-mark-mode t)
(menu-bar-mode -1)
(which-function-mode)

    (set-background-color "gray90")
  (use-package flatui-theme
    :init (load-theme 'flatui t)))

;; (use-package powerline
;;   :if (window-system))

(use-package exec-path-from-shell
  :init (exec-path-from-shell-initialize))
