created data structure/struct to contain email info