fixed issue with Email adapter.