Zend certified PHP/Magento developer

Email has a wrong format

I recently upgraded from 2.2.3 to 2.2.8 then to 2.3 and onto 2.3.3 and i’ve come across a strange error. When an order is being created, I get the following error:

Failed address validation: Email has a wrong format

I’ve searched stack exchange and magento forums and I cannot seem to find out why this is happening. In the logs, it shows a valid Paypal email address.

Any help would be appreciated.

The full error is:

main.CRITICAL: Exception message: Failed address validation:
Email has a wrong format
Trace: 
#1 MagentoQuoteModelQuoteManagement->submitQuote() called at [vendor/magento/module-quote/Model/QuoteManagement.php:447]
#2 MagentoQuoteModelQuoteManagement->submit() called at [generated/code/Magento/Quote/Model/QuoteManagement/Interceptor.php:89]
#3 MagentoQuoteModelQuoteManagementInterceptor->submit() called at [vendor/magento/module-paypal/Model/Express/Checkout.php:807]
#4 MagentoPaypalModelExpressCheckout->place() called at [vendor/magento/module-paypal/Controller/Express/AbstractExpress/PlaceOrder.php:98]
#5 MagentoPaypalControllerExpressAbstractExpressPlaceOrder->execute() called at [vendor/magento/framework/App/Action/Action.php:108]
#6 MagentoFrameworkAppActionAction->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#7 MagentoPaypalControllerExpressPlaceOrderInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#8 MagentoPaypalControllerExpressPlaceOrderInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#9 MagentoPaypalControllerExpressPlaceOrderInterceptor->___callPlugins() called at [generated/code/Magento/Paypal/Controller/Express/PlaceOrder/Interceptor.php:26]
#10 MagentoPaypalControllerExpressPlaceOrderInterceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:159]
#11 MagentoFrameworkAppFrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:99]
#12 MagentoFrameworkAppFrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#13 MagentoFrameworkAppFrontControllerInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#14 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:94]
#15 MagentoStoreAppFrontControllerPluginRequestPreprocessor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#16 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:73]
#17 MagentoPageCacheModelAppFrontControllerBuiltinPlugin->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#18 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#19 MagentoFrameworkAppFrontControllerInterceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]
#20 MagentoFrameworkAppFrontControllerInterceptor->dispatch() called at [vendor/magento/framework/App/Http.php:137]
#21 MagentoFrameworkAppHttp->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24]
#22 MagentoFrameworkAppHttpInterceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#23 MagentoFrameworkAppBootstrap->run() called at [index.php:39]

[] []