Use basename to shorten email subject.