Before this commit, trying to send or preview a mail from a kanban view was redirecting to the appswitcher.