added iredmail sql input