added mail functionality to messenger
bugfix mailing