fix preview button
Merge branch 'emailpreview' into testing