       (setq message-kill-buffer-on-exit t)
       (setq mu4e-compose-signature-auto-include nil)
 
-      (mjhoy/switch-to-fastmail)
+      (mjhoy/switch-to-personal-email)
 
       (setq mu4e-compose-complete-ignore-address-regexp "\\(no-?reply\\|reply.github.com\\|basecamphq.com\\)")
 

        (setq user-mail-address "mjh@mjhoy.com")
        )

      (defun mjhoy/switch-to-gmail ()
        "Switch to my gmail config."
        (interactive)
        (setq mu4e-sent-messages-behavior 'delete)
        (setq mu4e-refile-folder nil)
        (setq mu4e-drafts-folder "/michael.john.hoy-gmail.com/drafts")
        (setq mu4e-trash-folder "/trash")
        (setq smtpmail-starttls-credentials
              '(("smtp.gmail.com" 587 nil nil))
              smtpmail-default-smtp-server "smtp.gmail.com"
              smtpmail-smtp-server "smtp.gmail.com")
        (setq user-mail-address "michael.john.hoy@gmail.com")
        )

      (defvar mjhoy/switch-mail-auto nil
        "Switch gmail/fastmail automatically in mu4e.")

      (defun mjhoy/switch-mail-auto-fn ()
        "Automatically switch mailboxes based on parent message"

            (cond
             ((not mjhoy/switch-mail-auto)
              '())
             ((or
               (mu4e-message-contact-field-matches msg :to "getfreebird.com")
               (mu4e-message-contact-field-matches msg :from "mikey@getfreebird.com")
               (mu4e-message-contact-field-matches msg :cc "getfreebird.com")
               (mu4e-message-contact-field-matches msg :bcc "getfreebird.com"))
              (mjhoy/switch-to-work-email))
             ((or
               (mu4e-message-contact-field-matches msg :to "mjhoy.com")
               (mu4e-message-contact-field-matches msg :from "mjh@mjhoy.com")
               (mu4e-message-contact-field-matches msg :cc "mjhoy.com")
               (mu4e-message-contact-field-matches msg :bcc "mjhoy.com")
               (mu4e-message-contact-field-matches msg :to "michael.john.hoy@gmail.com")
               (mu4e-message-contact-field-matches msg :cc "michael.john.hoy@gmail.com")
               (mu4e-message-contact-field-matches msg :bcc "michael.john.hoy@gmail.com"))
              (mjhoy/switch-to-personal-email))
             (t
              '())))))

      (add-hook 'mu4e-compose-pre-hook 'mjhoy/switch-mail-auto-fn)

      (setq mu4e-maildir-shortcuts
            '(
              ("/mjh-mjhoy.com/INBOX" . ?i)
              ("/freebird/INBOX" . ?w)
              ("/michael.john.hoy-gmail.com/INBOX" . ?g)
              ("/mjh-mjhoy.com/INBOX.Archive" . ?a)
              ("/mjh-mjhoy.com/INBOX.Drafts" . ?d)
