[mkcal] Silence warnings when looking for emails in accounts.
@pvuorela : not really a necessary MR, but I find a bit annoying to get the console flooded when running the calendar app with messages saying that my CalDAV account is not an email account. Now that I have plenty of accounts with various CalDAV or webcal profiles, I got several screens of warnings.
In fact, I think these warnings should not exist, because, the plugin is trying to look if a lambda account is also an email account. Except for Google or EAS, it's not the case, so there is no reason to warn about this.
I profited of renaming the warnings into debugs to factorise some code there also, noticing that the result of
emailAccountAddress() was always checked to be not empty and in that case always replaced by
I still need to find where this line is appearing from
[W] unknown:0 - 10949 Unable to account for each notebook to have perfectly clear console ;). But it's not from mkcal.
@chriadam in case you want to give a look also...
Thank you both.