so you want end mail anyway? and only if `enableFileTransport` is `true` then add `file` to event data? or what is the solution?