change plugin settings capabilities to manage_woocommerce
correct plugin tmp folder check
email attachment rewrite