Yes, the email client is open-source. The calendar UI isn't, although the data storage format may be documented.