added index and formatting to user email