fixes a path to temp mail