run the view and create email formatted html
view to run
state params for the view
email formatted html
run the view and create email formatted html