add bayesian learning
convert mail content to post struct for post id