class Notifier < ActionMailer::Base
  default from: "donotreply@lotifyme.co"
  layout 'mailer'

  def welcome_email(user)
    @user = user
    mail(to: @user.email, subject:'welcome to lottifyme')
  end

  def email_for_past_draw(pick)
    @user = pick.user
    @pick = pick
    mail(to: @user.email, subject:'your resoult')
  end

  def email_for_future_draw(pick)
    @user = pick.user
    @pick = pick
     mail(to: @user.email, subject:'Request recived')
  end
end

class Notifier < ActionMailer::Base
  default from: "donotreply@lotifyme.co"
  layout 'mailer'

  def welcome_email(user)
    @user = user
    mail(to: @user.email, subject:'welcome to lottifyme')
  end

  def email_for_past_draw(pick)
    @user = pick.user
    @pick = pick
    mail(to: @user.email, subject:'your resoult')
  end

  def email_for_future_draw(pick)
    @user = pick.user
    @pick = pick
     mail(to: @user.email, subject:'Request recived')
  end

  def email_for_present_draw_users(users)
    @users = users
    @users.each do |user|
      mail(to: user.email, subject:'Todays Resoults')
    end
  end

end

Add methos to send mail to users from today draw
Add methos to send mail to users from today draw
