Me attempting to hack together a simple python smtp mail server with a mongodb backend