Unable to install themes online in the website backend

I saw from the log that there was an error in the email configuration. I am curious if the email configuration will affect the installation of the theme?