updated example mail plugin
updated example mail plugin