Does anyone have curl code to "add to inbox"? Sorry I am not good at programming

Many thanks, but managed to sort it out a while ago. See here