Separate out view
Able to handle multiple emails from dataset

this is a bit messy at the moment, lots of p-ing, but i
checked in just to show a glimpse of the process
Create full function version

still need to do more testing and refactoring. specifically,
address hacky way of handling email address with no
corresponding dataset