Return an error for mock `SendMailV31Func` function instead of returning nil which causes panic.
Return an error for mock `SendMailV31Func` function instead of returning nil which causes panic.

mailjet/mailjet-apiv3-go