An enhanced implementation of the mailx command