updated rest request keys to lcase and changed apiKey to mailgunApiKey to prevent dependency injection conflicts