avoid hardcoding "http" or "https on createFirstErrorMessage and createSuccessEmail

use the property "jetty.use.ssl"