{ pkgs, lib, config, ... }:
{
  home.packages = [
    pkgs.abook
    #pkgs.mbsync
    pkgs.neomutt
    pkgs.notmuch
  ];
  home.activation.createMuttDirectories =
    let mkdir = dir: ''$DRY_RUN_CMD mkdir -p $VERBOSE_ARG "${dir}"''; in
    lib.hm.dag.entryAfter [ "writeBoundary" ]
      (lib.concatMapStringsSep "\n" mkdir [
        "${config.xdg.cacheHome}/mutt/messages"
        "${config.xdg.cacheHome}/mutt/news"
        "${config.xdg.cacheHome}/mutt/tmp"
      ]);
}