<p>It's a convention in rails to name your mailers with a Mailer suffix, and is also common to name the class after the recipient (e.g. User, Admin). So UserMailer seems a reasonable choice.</p>
<p>As an aside, I found <a rel="nofollow" href="https://katanacode.com/blog/ruby-on-rails-action-mailer-how-to-name-mailer-methods/">https://katanacode.com/blog/ruby-on-rails-action-mailer-how-to-name-mailer-methods/</a> which is interesting and perhaps we could us as a convention for the method naming too. But I left those alone for now.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/2884'>https://github.com/openstreetmap/openstreetmap-website/pull/2884</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Rename Notifier to UserMailer</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-29beaabe278fd17493296745cecb67919f0906b47b8246ab770f5517615d9ef7">.rubocop_todo.yml</a>
(10)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-cbcb9ae851f89928d6366b8fbce29b38d3fb6dcc2c7ae61fdf7f3bb40911b976">app/controllers/api/changeset_comments_controller.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-6e9fe051c0ef757618e376ffe731dfca8d4960ef0838b7d6a05609b46ba0fad1">app/controllers/api/notes_controller.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-4b73866ef57c70fca07c0f330d7a57aae939b11e4aae0514f303df3aa3762f89">app/controllers/diary_entries_controller.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-61b51a87bb7b543e822aff82b71b37c768520f25fa60664aee9bb4e56af797ff">app/controllers/friendships_controller.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-9b58332ea76756301b1aafeacfb0659d1244ba014947602b0e0bf2d0f2921d26">app/controllers/messages_controller.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-cfdccd0a9d5df5a43aaad2a35d36ebbe187c52ad5fdc9846fa189d04537adb6e">app/controllers/users_controller.rb</a>
(8)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-4441419566196bfe07c7e08524892c3f7e198c37dd89d4f971b1a269abd59257">app/helpers/user_mailer_helper.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-213f2b17d6c8732fec135ce33c196a75f1733c968bceb998416c992333f33fad">app/jobs/trace_importer_job.rb</a>
(6)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-55254045ba774e4c360d7bbfde054665072d2ab49abc3f21add15a37bba65a1c">app/mailers/user_mailer.rb</a>
(28)
</li>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-c2b9828984d4f465e9289f47e1fd896c985a1a0101cb211efd092fe1ccb6009e">app/views/notifier/_gpx_description.html.erb</a>
(12)
</li>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-a6db30fab8d6092fd4ac607a28d0a237dea8726c0eeae8c81334680d3a6284ef">app/views/notifier/email_confirm.html.erb</a>
(7)
</li>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-226f389a9039636634d5c54a32d314f48aebc14bd2cd536edc5d195688ca66fe">app/views/notifier/email_confirm.text.erb</a>
(7)
</li>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-621c4e9cef25a43b90073eaa63c22c475c84080e54bf9f3020384678ea592c10">app/views/notifier/gpx_failure.html.erb</a>
(16)
</li>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-97e596cf4e9da993f127adafcf810ff5fd4f849a020e06c9c1e42c490d39c83c">app/views/notifier/lost_password.html.erb</a>
(7)
</li>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-96b10ee8d914621fe4ded1755404207f3e3742b4d337473830da4b71cee60d90">app/views/notifier/lost_password.text.erb</a>
(7)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-32e89ccb32353eded16e52507b2f6400f26b828225848e46c9064cb99baf40f0">app/views/user_mailer/_gpx_description.html.erb</a>
(12)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-8960e9975038cf19493719932456b678ba2e4713c6792f6e6483ba5be57bc4d6">app/views/user_mailer/_message_body.html.erb</a>
(0)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-6938f68652d92caabffeaa47ad9bfcbf1ab01eaf1d92f3b155f637b2dce0fe83">app/views/user_mailer/changeset_comment_notification.html.erb</a>
(0)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-2b096b93bc554e4c55233ebecf0eff854b636ba6a05ad17ae4322edfded24a46">app/views/user_mailer/changeset_comment_notification.text.erb</a>
(0)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-ba01eab7ec4d4ae2d3d5014ea9a810e88ae1cae98205184baf156ce45dfa3521">app/views/user_mailer/diary_comment_notification.html.erb</a>
(0)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-a36fd11c18a41c175d74002d6ee98f541bd6b40cae7949dafc8b3343c1692957">app/views/user_mailer/diary_comment_notification.text.erb</a>
(0)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-7663fd470f4d8220bf88d6d89b80d9e49e3338d7fb4de065ef3ac5e983b59555">app/views/user_mailer/email_confirm.html.erb</a>
(7)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-c6fc374e8759a295835afe6420b1acafc47c265c06601ce0d2654bb75088fee4">app/views/user_mailer/email_confirm.text.erb</a>
(7)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-b940a7e44ecc6cde170b788dd5ff4e6347f0cc1881153c3288720d4507255baf">app/views/user_mailer/friendship_notification.html.erb</a>
(0)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-660de16c268d966d8b3382a9bc4874e14b3e9bb544aa0169f2fac4b8ae369ce7">app/views/user_mailer/friendship_notification.text.erb</a>
(0)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-3eb829a16e9d395d2265ad1798b81b7f0e1acda093225076134eba88d4ccb003">app/views/user_mailer/gpx_failure.html.erb</a>
(16)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-ba6d2542e686c074e4f2053e02c06547c43d05dbc19d9781b606c1821204d36a">app/views/user_mailer/gpx_success.html.erb</a>
(4)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-598a69579d8b608ea94cb569602537ada1879c03d48c0dd2954558c5bc5fffa7">app/views/user_mailer/lost_password.html.erb</a>
(7)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-7fb5ed9141059fdee4378293109c370cfe1dc5869009db5e1e49811bc7e26e15">app/views/user_mailer/lost_password.text.erb</a>
(7)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-683aae56b100df7f09527d8fb9f216a704ceb459c63421b69775394b3ddbea8d">app/views/user_mailer/message_notification.html.erb</a>
(0)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-566ba4066647f8c1c9c5f5e3a520cdb6e7c36c3bd4512f755be047c3a4b0d3c2">app/views/user_mailer/message_notification.text.erb</a>
(0)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-ac5b6dcbdc71c7d5156a26edcedc6b5fa5b9ad41d97d212de595d45f7b778c6f">app/views/user_mailer/note_comment_notification.html.erb</a>
(0)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-4e04e8994e88b596f6f3f00c7018c1d554763223db8713bf94fa0c659b4f4118">app/views/user_mailer/note_comment_notification.text.erb</a>
(0)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-92f82b389ab9dd8e0d3be6b0e3275d22366126e375d87da6330d6ec6d9d06a7a">app/views/user_mailer/signup_confirm.html.erb</a>
(0)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-c202249d0ec7f89f359a230a53b919bc51c5606e2c869c4e54597ad9f3a52e1c">app/views/user_mailer/signup_confirm.text.erb</a>
(0)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
(14)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2884.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2884.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2884.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2884.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2884">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNMC3LU2K7J7MUX7DLSKWPQTANCNFSM4SQS4I3A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLMP7RFLHNVPRQR7CILSKWPQTA5CNFSM4SQS4I3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4KYAMUNQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2884",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2884",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>