builtin-mailinfo.c: fix confusing internal API to mailinfo()