configure mailgun username as well and log success and error