Adding a yellow/orange caution banner to specific external emails
Looking after your users can be tedious work. We can make things more interesting by adding a warning banner inside, like the one below, for every external email containing specific words or their combinations.:

Go to the Exchange Online portal and find the “Mail Flow” option, then “Add a rule”.
- Create name: External Email Warning
- Apply this rule if: The Recipient “is external/internal”
- The recipient is located: “InOrganisation”
- AND
- “The subject or body” -> “subject matches these text patterns” -> add below text pattern template as they are here, line by line.
- AND
- The Sender “is external/internal”
- The sender is located “NotInOrganisation”
- Do the following: “Apply a disclaimer to the message” & “prepend a disclaimer”, and add the disclaimer as is; you can change the colour as you like.
Settings for a new mail flow rule
Text patterns to be aware of in the external email
Password.*[expire|reset]
Password access
[reset|change|update].*password
Change.*password
\.odt
E-Notification
EMERGENCY
Retrieve*.document
Download*.document
confirm ownership for
word must be installed
prevent further unauthorized
prevent further unauthorised
informations has been
fallow our process
confirm your informations
failed to validate
unable to verify
delayed payment
activate your account
Update your payment
submit your payment
via Paypal
has been compromised
FRAUD NOTICE
your account will be closed
your apple id was used to sign in to
was blocked for violation
urged to download
that you validate your account
multiple login attempt
trying to access your account
suspend your account
restricted if you fail to update
informations on your account
update your account information
update in our security
Unusual sign-in activity
Account Was Limited
verify and reactivate
has.*been.*limited
have.*locked
has.*been.*suspended
unusual.*activity
notifications.*pending
your\ (customer\ )?account\ has
your\ (customer\ )?account\ was
new.*voice(\ )?mail
Periodic.*Maintenance
refund.*not.*approved
account.*(is\ )?on.*hold
wire.*transfer
secure.*update
secure.*document
temporar(il)?y.*deactivated
verification.*required
blocked\ your?\ online
suspicious\ activit
securely*.onedrive
securely*.dropbox
securely*.google drive
view message
view attachment
one-off payment
beneficiary's details
Disclaimer in HTML template, with orange background
|
Caution:
This is an external email. Please take care when clicking links or opening attachments. When in doubt, contact your-email@domain.com.
|
<!-- Orange caution banner -->
<table border=0 cellspacing=0 cellpadding=0 align="left" width="100%">
<tr>
<!-- Remove the next line if you don't want the Yellow bar on the left side -->
<td style="background:red;padding:5pt 2pt 5pt 2pt"></td>
<td width="100%" cellpadding="7px 6px 7px 15px" style="background:orange;padding:5pt 4pt 5pt 12pt;word-wrap:break-word">
<div style="color:#222222;">
<span style="color:#222; font-weight:bold;">Caution:</span>
This is an external email. Please take care when clicking links or opening attachments. When in doubt, contact your-email@domain.com.
</div>
</td>
</tr>
</table>
<br />



