Fixed sending emails. Removed missing js and css.