OriginalPostID-231874
Discussion posts and replies are publicly visible
anamikav , Please use the shared component getuserlastlogin . It will return user's last login date and time. With this info you can send mail if it is 30 days.
This would help you...!!!