transform({ type => $header_name, data => $header_data })

'transform' a header from the 'raw' state (the way it was returned from the server) to an appropriate object. if no appropriate object exists the header will be decoded (using decode_mime_words()) and UTF-8 encoded
the following 'transformations' take place:
from -> Email::Address::XS object
to -> Email::Address::XS object
cc -> Email::Address::XS object
date -> CiderWebmail::Date object

Questions & Answers

Helpful answers and articles about CiderWebmail::Header you may found on these sites:
Stack Overflow Server Fault Super User Unix & Linux Ask Ubuntu Network Engineering DevOps Raspberry Pi Webmasters Google Search