Preventing multiple emails being sent

introducing Redis and using its volatile key
feature to create a lock that gets deleted
on its own after a set expiration time.