Making email file path relative to repo dir