fix bug with capitalized emails