class NotificationMailer < ActionMailer::Base
  default from: "notifications@cityvoiceapp.com"
  include NotificationsMailerHelper
  helper :notifications_mailer

  def confirmation_email(notification_subscription)
    @token = notification_subscription.auth_token
    @property = notification_subscription.property
    mail(to: notification_subscription.email, subject: 'Confirm to get notifications')
  end

  def weekly_activity(notification_subscription)
    @property = notification_subscription.property
    mail(to: notification_subscription.email, subject: 'New Activity on CityVoice')
  end

  # properties array: [{property: property_object, unsubscribe_token: '23423jfsdf', activity: [feedback_input1, feedback_input2]}]
  def weekly_activity2(email, properties_array)
    @properties_array = properties_array
    @unsubscribe_all_token = properties_array.last[:unsubscribe_token]
    mail(to: email, subject: 'Weekly Activity')
  end

end

class NotificationMailer < ActionMailer::Base
  default from: "notifications@cityvoice.com"
  include NotificationsMailerHelper
  helper :notifications_mailer

  def confirmation_email(notification_subscription)
    @token = notification_subscription.auth_token
    @property = notification_subscription.property
    mail(to: notification_subscription.email, subject: 'Confirm to get notifications')
  end

  def weekly_activity(notification_subscription)
    @property = notification_subscription.property
    mail(to: notification_subscription.email, subject: 'Weekly Activity')
  end

  # properties array: [{property: property_object, unsubscribe_token: '23423jfsdf', activity: [feedback_input1, feedback_input2]}]
  def weekly_activity2(email, properties_array)
    @properties_array = properties_array
    @unsubscribe_all_token = properties_array.last[:unsubscribe_token]
    mail(to: email, subject: 'Weekly Activity')
  end

end

--- 
+++ 
@@ -1,5 +1,5 @@
 class NotificationMailer < ActionMailer::Base
-  default from: "notifications@cityvoice.com"
+  default from: "notifications@cityvoiceapp.com"
   include NotificationsMailerHelper
   helper :notifications_mailer
 
@@ -11,7 +11,7 @@
 
   def weekly_activity(notification_subscription)
     @property = notification_subscription.property
-    mail(to: notification_subscription.email, subject: 'Weekly Activity')
+    mail(to: notification_subscription.email, subject: 'New Activity on CityVoice')
   end
 
   # properties array: [{property: property_object, unsubscribe_token: '23423jfsdf', activity: [feedback_input1, feedback_input2]}]
Change outbound email address and subject line in mailer
