Are passwords encrypted ?

Hi,

I’m trying to use your application as my default mail/calendar/contacts client (I have a carddav/caldav server), but I have some questions concerning the accounts safety.

When I log into my accounts, where is the password stored? Is it encrypted?

If yes, can you provide some info about the encryption key? Is my master password used anyhow?

Thanks for your answers,
Marc