split Thread logic into distinct create_from_message and update_from_message
NewRule parameter, used in Rule.create
fix get message lookup
use of EmailType