Erregistroa posta elektronikoz bidali: Unified modeling of photothermal and photochemical damage