version code
Revert "fix a bug that sql statement have %s or %s and so on, that it doesn't work"

This reverts commit a12f7ab8bd284bad5ae3b6a51f278e0f42007267.
add a send mail function