Cleaner determination of from text
Add second parameter
Better handling of errors when creating reply/forward data