fix(task-notification-logs): handling async operations for correct logs
Limited the scope of logsData variable to refresh each time a new member is sent an email.
Limited the scope of logsData variable to refresh each time a new member is sent an email.