snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
10.88k stars 3.14k forks source link

[Feature Request]: Email notifications on inventory movement #14793

Open swift2512 opened 3 months ago

swift2512 commented 3 months ago

Is your feature request related to a problem? Please describe.

Not all asset movement is reported to admins and external recipients.

Describe the solution you'd like

Email notifications should be always sent when asset is assigned, removed or moved. SnipeIT email notifications can be used to inform accounting department (or anyone else) who keeps track of item location and/or it's user in systems of their own. Currently, email notifications are only sent when item is accepted or declined be the recipient (Email Alerts Enabled checked in Admin settings > Notifications and 'Send alerts to' email is provided.), but there are no notifications (to the email address(-es) provided in 'Send alerts to') regarding items checked out to locations or other assets. This current behaviour doesn't make much sense. Why would someone only get an email about asset assigned to a user, but not about an asset assigned to a location or another asset?

Old/New item location, notes and custom fields (checked in 'Include the value of this field in checkout emails sent to the user?') should be also visible in Email alerts.

BONUS

  1. Email alerts could be sent to 'Send alerts to' recipient on asset check-in - this way recipient(-s) would be informed that asset has changed it's user and/or location (on check-in item is returned to storage, left in it's current location or moved to different location).

  2. Admin who checked-out asset should get a copy of message sent to 'Send alerts to' email when user accepts/declines an asset. Currently, admin can only see this in Reports section (if granted) of SnipeIT. (This would make life easier for every admin who requires users to accept assets on checkout. Admins would get an email notifications directly to their mailbox without a need to constantly check status reports in SnipeIT. While their email addresses can be added to 'Send alerts to' list, this is not an acceptable solution because admins would be flooded with alerts not related to their assets/company.)

Describe alternatives you've considered

No response

Additional context

No response

snipe commented 3 months ago

Please provide the version of Snipe-IT that you're using.

swift2512 commented 3 months ago

It's 6.4.1, but I'll run email tests on 6.4.2 today.

swift2512 commented 3 months ago

Tested on 6.4.2 today. As you can see in attached image, Model information, custom fields and Admin information is missing in 'System emails' (Notifications>Email Alerts Enabled> Send alerts to) received on Accept/Decline. In email received by user on asset checkin, Checkin date is missing.

Information should be consistent in all email messages. Admin information would be useful when company has more than one admin. For example, person responsible for 'System emails' email account, could forward email to responsible admin.

It would be even better if copy of a message would be sent directly to responsible admin when user accepts/declines an asset.

image