Change apiKey to mailgunKey. You can disable mailgun validation by set mailgunKey to null.