Automatically add trailing slash to mail debug file path