What happens if mail is lost in a plane accident?

if you send or receive mail or a package that is lost due in the rare event of a plane crash or ship sinking, are you notified? Do you get an email from FedEx or USPS that is like, “Hey, that package you sent got destroyed. Sorry?”

Anyone work in shipping?