#!/bin/bash set -e cachedir="$HOME/.cache/mutt" if [[ ! -d "$cachedir" ]]; then mkdir "$cachedir" fi /usr/bin/mutt "$@"