- added post-update action
- added Mail.php for attachment sending