MM4-to-webhook proxy

MM4 is just SMTP, so postfix can receive those no problem. It can also run a program for each new inbound email, just like we do for cheogram-smtp. This program needs to parse the email and then hit sgx-bwmsgsv2 with a webhook as though from Bandwidth.

We’re basically re-implementing Bandwidth’s inbound MMS API here, but theirs has some show-stopping bugs they refuse to fix (such as ignoring Cc headers on group text from those who use them, such as Google Voice).

Maybe start with attachments for cheogram-smtp to get code to do some of this handling?

I did add inbound attachment code in cheogram-smtp as a start to this, so I think we want to have a mode over there to convert email to bandwidth API JSON or similar.

Based on my long and previous attempts at this without making any useful progress, I want to unassign myself from this and let someone else get it done.

https://lists.sr.ht/~singpolyma/dev/patches/38478

See #223 for a related ticket about outgoing MM4 (to possibly fix unsupported 10+ recipient outgoing group texts).

Google Fi apparently sends to/cc header without leading +