You are mixing together two different approaches to sending email: Using ActionMailer, and using Pony. The `mail(...)` method is used in ActionMailers with email templates, and Pony is used directly from the code sending the email, outside of an ActionMailer. Technically what you have here may work, but it's very unconventional and I would not rely on it.