add deploy command
add SMTPHander to send error with email