Added log_service_down method
Started on email_log functions