use account if it already exists

use account if it already exists

diff --git a/plugin.rb b/plugin.rb
index a962dd4..7457e80 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -39,6 +39,11 @@ class MeteorAuthenticator < ::Auth::OAuth2Authenticator
     if current_info
       result.user = User.where(id: current_info[:user_id]).first
     end
+
+    if result.email && result.email_valid
+      result.user ||= User.find_by(email: result.email)
+    end
+
     result.extra_data = { meteor_user_id: user['id'] }
     result
   end

GitHub sha: 8cbd50d4b0b150e48644a762726d587ed79f4d96