fixed wrong filename with external email attachment