# frozen_string_literal: true class ComponentMailer < ApplicationMailer def notify(me) mail to: 'henrique@mail.com', subject: 'Component', body: ApplicationController.render(MyComponent.new(me: me)) end end