It doesn't seem a big leap to have a small UPS at home ($42 gets you 37mins@20W) or even a rechargable battery in the router and mail server.
Further resilence could be handled by partering with another device at a trusted person's house, to act as a backup MX server.