fixed sending plain messages & updated gitignore for .idea directory