Complete the code to send a welcome email from the controller.
UserMailer.[1](user).deliver_nowThe mailer method welcome_email is called to send the email immediately with deliver_now.
Complete the code to pass the user object to the mailer method.
UserMailer.welcome_email([1]).deliver_nowThe user object is passed to the mailer method to personalize the email.
Fix the error in sending the email asynchronously.
UserMailer.welcome_email(user).[1]To send emails asynchronously in Rails, use deliver_later.
Fill both blanks to create and send a password reset email asynchronously.
UserMailer.[1]([2]).deliver_later
The mailer method password_reset is called with the user object, then sent asynchronously with deliver_later.
Fill all three blanks to send a notification email with a custom subject and recipient.
UserMailer.[1]([2]).with(subject: [3]).deliver_now
The notification_email method is called with the user object, a custom subject "Account Update" is passed via with, then sent immediately.
