Flask Postfix SQL Manager