Fixed bug #705: Email class throws without callback function

Optional callbacks.