 ;;;###autoload
 (defun +mu4e-lock-file-delete-maybe ()
   "Check `+mu4e-lock-file', and delete it if this process is responsible for it."
-  (when (+mu4e-lock-avalible)
+  (when (+mu4e-lock-available)
     (delete-file +mu4e-lock-file)
     (file-notify-rm-watch +mu4e-lock--request-watcher)))
 

      (+mu4e-lock-add-watcher)
    (when (equal (nth 1 event) 'deleted)
      (setq +mu4e-lock--file-just-deleted t)
      (when (and +mu4e-lock-greedy (+mu4e-lock-avalible t))
        (message "Noticed Mu4e lock was avalible, grabbed it")
        (run-at-time 0.2 nil #'mu4e~start)))))

        (delete-file +mu4e-lock-file) nil))))

;;;###autoload
(defun +mu4e-lock-available (&optional strict)
  "If the `+mu4e-lock-file' is available (unset or owned by this emacs) return t.
If STRICT only accept an unset lock file."
  (not (when-let* ((lock-info (+mu4e-lock-pid-info))
                   (pid (car lock-info)))
