fix view for emailing