python PEP8 Format, js formate, also add email notification to send server error