Mobiunpack.py will extract all html/images from a mobi and create an opf file. You can edit the html and then just import the opf file into MobiPocket creator (or KindleGen) to recreate the mobi.
https://www.mobileread.com/forums/sho...d.php?p=774836