upload and mail options set for automation