Add Postmark integration (inbound emails for task creation)

This commit is contained in:
Frederic Guillot
2015-04-19 14:48:12 -04:00
parent 370b5a0fd7
commit 1891e87d03
37 changed files with 478 additions and 6 deletions

View File

@@ -141,6 +141,18 @@ class User extends Base
return $this->db->table(self::TABLE)->eq('username', $username)->findOne();
}
/**
* Get a specific user by the email address
*
* @access public
* @param string $email Email
* @return array
*/
public function getByEmail($email)
{
return $this->db->table(self::TABLE)->eq('email', $email)->findOne();
}
/**
* Get all users
*