Currently the exit code of
thunderbird -thunderlink "thunderlink://messageid=ID@example.org"
is always 0 whether the corresponding email could be opened or not. It would be helpful if the exit code would show if an email trying to open was not found.