Removed broken files and fixed an error with the send_email method