run mutt within ~/tmp/ directory so that it would be used as default
directory for attachments
before applying pattern check if it is not empty