Changed query to check if email message was attached
Button "Download all" is disabled by default