use sudo to get ir.config_parameter, otherwise when normal users try to send email they get AccessError