Email and FTP are separate services. If you can't access the panel, there is a problem with the web server service which is apache or nginx depending on how you configured EHCP. So, you need to check the log files in /var/log/apache2 or /var/log/nginx to figure out what might be wrong.
Checking the log files for problems is the first step to fixing any problem.