changed mailClient to conn for ease of following tutorial - will be changed back later.