Fix bug: same emails were generated on Windows

Not tested in any way.