Mailspring/examples/N1-Phishing-Detection
dillon 6cf6f9087e fix(phishing-detection): undefined messages no longer throws exception
Summary: fixes T4078

Test Plan: manual

Reviewers: bengotow

Maniphest Tasks: T4078

Differential Revision: https://phab.nylas.com/D2111
2015-10-05 14:36:48 -07:00
..
docs add phishing detection example 2015-10-02 15:38:48 -07:00
lib fix(phishing-detection): undefined messages no longer throws exception 2015-10-05 14:36:48 -07:00
spec add phishing detection example 2015-10-02 15:38:48 -07:00
stylesheets add phishing detection example 2015-10-02 15:38:48 -07:00
.gitignore add phishing detection example 2015-10-02 15:38:48 -07:00
package.json fix(phishing-detection): undefined messages no longer throws exception 2015-10-05 14:36:48 -07:00
README.md fix(readmes): Add "Install this plugin" bits to the plugin READMEs 2015-10-04 00:42:54 -07:00
screenshot.png add phishing detection example 2015-10-02 15:38:48 -07:00

Phishing Detection

A sample package for Nylas Mail to detect simple phishing attempts. This package display a simple warning if a message's originating address is different from its return address. The warning looks like this:

screenshot

Install this plugin:

  1. Download and run N1

  2. From the menu, select Developer > Install a Package Manually... The dialog will default to this examples directory. Just choose the package to install it!

    When you install packages, they're moved to ~/.nylas/packages, and N1 runs apm install on the command line to fetch dependencies listed in the package's package.json

Who is this for?

This package is our slimmest example package. It's annotated for developers who have no experience with React, Flux, Electron, or N1.

To build documentation (the manual way):

cjsx-transform lib/main.cjsx > docs/main.coffee
docco docs/main.coffee
rm docs/main.coffee