[qmlmail] Adapt to the plugins changes.