Adding checkboxes for download and send email