nit: please follow the convention of the imported parameter having a leading underscore (`_mailcheck`).