diff --git a/lib/travis/model/user.rb b/lib/travis/model/user.rb
index <HASH>..<HASH> 100644
--- a/lib/travis/model/user.rb
+++ b/lib/travis/model/user.rb
@@ -43,6 +43,10 @@ class User < Travis::Model
     def with_github_token
       where("github_oauth_token IS NOT NULL and github_oauth_token != ''")
     end
+
+    def with_email(email_address)
+      Email.where(email: email_address).first.try(:user)
+    end
   end
 
   def to_json
user: add method to find a user given an email address