It's very useful that it's possible to view the source code of an email in KMail, however, one cannot modify it. Maybe you could add this in a future version (wishlist). Reproducible: Always