"The Di2 rear derailleurs are rated for a 42-tooth sprocket in a 2 x 11 system, so you could go slightly lower than I have. I'd love to hear from anyone who's tried this.
WolfTooth RoadLink
If you wanted to save money, you could use a £22.95 Wolf Tooth Roadlink (link is external) to extend the capacity of your existing rear derailleur. According to the manufacturer, the Roadlink will extend any non-Shadow GS rear derailleur to work with an 11-40 cassette."
"The Di2 rear derailleurs are rated for a 42-tooth sprocket in a 2 x 11 system, so you could go slightly lower than I have. I'd love to hear from anyone who's tried this.
WolfTooth RoadLink
If you wanted to save money, you could use a £22.95 Wolf Tooth Roadlink (link is external) to extend the capacity of your existing rear derailleur. According to the manufacturer, the Roadlink will extend any non-Shadow GS rear derailleur to work with an 11-40 cassette."
https://road.cc/content/feature/246424-how-get-ultra-low-gearing-gravel-bike-adventures