fix email data binding, add test
Merge pull request #176 from ali-graham/158_email_data_missing

fix email data binding, add test