Pls check if the mailbox that you are trying to send the mail from is not marked as Postmaster? You can do that in Email and Conferences >> Settings >> Mail and Conference Settings >> Postmaster field
Hi, Paul.
Sounds like you're talking about REST API. And that your are overwriting data with older values if B managed to read record before A finished to update it. Classic conflict resolution ...