clean up the sharing ajax calls, add mail notification class