Bugfix: handling NullP Exception when attachment filename is null.