#!/bin/sh

MAIL=aerc

if pgrep "$MAIL" > /dev/null; then
	"$MAIL" "$@"
else
	"$TERMINAL" -e "$MAIL" "$@"
fi
