changed email by adding a progress meter for sending using XHR readyState