Mailspring/internal_packages/phishing-detection
Halla Moore 1c675935a7 feat(popout-threads) Add functionality to open threads in popout windows
Summary:
Threads can now be opened in separate windows. This can be done via the popout
icon next to the print icon, or by double-clicking the thread when in double-
pane mode. Note that the single-click action is still fired, which is why
double-clicking does not work in single-pane mode. The popout icon changes to a
pop-in icon while in the popout window, to allow users to collapse it back into
the main window.

Test Plan: Tested locally

Reviewers: evan, juan

Reviewed By: juan

Subscribers: sdw

Differential Revision: https://phab.nylas.com/D3332
2016-10-12 13:55:11 -07:00
..
docs fix(examples): examples => packages, move away from installing them 2016-01-07 14:56:34 -08:00
lib fix(phising): Handle scenarios where input is malformed (Sentry 51642) 2016-10-04 14:15:52 -07:00
spec feat(babel6): 1,774 linter errors 2016-05-06 11:55:46 -07:00
stylesheets Fixed text overflow in phishing detection indicator 2016-03-11 20:33:06 +01:00
.gitignore fix(examples): examples => packages, move away from installing them 2016-01-07 14:56:34 -08:00
icon.png 💄(icon): A delightful seafoam green icon 2016-02-23 10:35:08 -08:00
package.json feat(popout-threads) Add functionality to open threads in popout windows 2016-10-12 13:55:11 -07:00
README.md fix(examples): examples => packages, move away from installing them 2016-01-07 14:56:34 -08:00
screenshot.png fix(examples): examples => packages, move away from installing them 2016-01-07 14:56:34 -08: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