Changed email functionality from pony to mailgun and configured SMTP