For an unexplained reason complex_send accepts a list_of_lists instead of an ns_set for extra_headers. This completely breaks notifications by sending people the wrong email body. Temporary fix until we can systematically track down the misuse of extra_headers argument
Made sure that forum notifications go through by adding quotes around the domain so sendmessage cannot complain anymore. Just to be on the safe side did this for Names of users as well in complex_send. Last but not least changed complex send to only overwrite the from_string if we actually find a party_id