What is the limit of emails sent by an educational facility? - google-apps-script

Our school (Lane Community College) would like to find out the limits of sending emails to our students. No attachments just simple text messages to maybe less than 2,000 students. Thank you.

Depending on the type of account your school has, the limits are the following when using Apps Script:
Consumer account
Email recipients per day - 100* / day;
Email read/write (excluding send) - 20,000 / day;
G Suite free edition account
Email recipients per day - 100* / day;
Email read/write (excluding send) - 40,000 / day;
G Suite Basic account
Email recipients per day - 1,500* / day;
Email read/write (excluding send) - 50,000 / day;
G Suite Business / Enterprise / Education
Email recipients per day - 1,500* / day;
Email read/write (excluding send) - 50,000 / day;
Early Access account
Email recipients per day - 1,500* / day;
Email read/write (excluding send) - Flexible
As for the regular Email sending limits:
Messages per day / Daily sending limit - 2,000 (500 for trial accounts);
Recipients per message (Addresses in the To, Cc, and Bcc fields of a single email) - 2,000 total per message (maximum of 500 external recipients);
Reference
Apps Script - Quotas for Google Services;
Email Sending Limits

Related

Gmail API seems to round up the timestamp of messages to minutes

I am using Google Apps Script to do something with Gmail messages. To retrieve messages within a specific time range, I use the GmailApp search method. It seems that Gmail will round up the timestamp of the messages to minutes so I could not get results which I would expect to have.
Let's say we have 3 messages with timestamps
2020-10-15 11:14:41
2020-10-15 11:38:49
2020-10-15 11:59:26
When I search the messages by query "after:1602759600 before:1602730800" (from 2020-10-15 11:00:00 to 2020-10-15 12:00:00), only 2 messages were returned. It seems that Gmail rounds up the timestamp of the messages to minutes, where the "11:59:26" message was treated as "12:00" (It also appears as "12:00" in the inbox of the Gmail page)
If I set the query to "after:1602730800 before:1602766800" (from 2020-10-15 12:00:00 to 2020-10-15 13:00:00), the message stamped with "2020-10-15 11:59:26" returned as the search result.
To investigate this, I sent another 2 messages to see how Gmail rounds up. I sent the messages at 12:59:15 and 12:59:45 respectively, this time Gmail rounds down the "12:59:15" to "12:59" and the "12:59:45" to "13:00".
Does anybody knows what is behind the box?

Set time interval between two email notifications

how can I set time interval between two email notifications that Zabbix sends? I want to send a notification about an issue at least 30 minutes since the last email about the same issue.
Currently, I get an email every minute about the same thing and that's annoying.
The only thing I found was this: https://www.zabbix.com/forum/zabbix-help/19970-time-interval-between-two-email-notifications
but unfortunately it wasn't very helpful.
You can manage these intervals in Configuration -> Actions -> your alert action -> Operations.
I think that you have set up Default step duration to 1 minute and a notification action for steps 1 - 0 (Indefinitely).
In the documentation you can find various examples, for instance:
Example 1
Sending a repeated notification once every 30 minutes (5
times in total) to a 'MySQL Administrators' group.
To configure:
in Operations tab, set the Default operation step duration to '30m'
(30 minutes) Set the escalation steps to be From '1' To '5' Select the
'MySQL Administrators' group as recipients of the message
You can define a default step duration of 1 minute and define the escalations:
step 1 - 1 to send a mail after 1 minute
step 30 - 30 to send a mail after 30 minutes
or step 30 - 0 to send a mail every 30 minutes

How to calculate the cost of a Google dataflow?

My company is evaluating if we can use Google Dataflow.
I have run a dataflow on Google Cloud Platform. The console shows 5 hr 25 minutes in "Reserved CPU Time" field on the right.
Worker configuration: n1-standard-4
Starting 8 workers...
How to calculate the cost of the dataflow ? According to this page
the price is $0.01 per GCEU per hr, how can I find the number of GCEU consumed by my dataflow, and the number of hours?
You can find the number of GCEUs per machine here: https://cloud.google.com/compute/docs/machine-types. For example, n1-standard-4s are 11 GCEUs.
The cost of a batch Dataflow job (in addition to the raw cost of VMs) is then
(Reserved CPU time in hours) / (Cores per machine) * (GCEUs) * $.01
Then, the total cost of the job is
(machine hours) * ((GCEUs) * $.01 + (machine cost per hour) + (PD cost per hour for attached disks))
For example, for n1-standard-4 with 250GB disks, this works out to (11 * $.01 + $.152 + ($.04 * 250 / 30 / 24)) = $.276 per machine-hour.
There is new pricing model for Dataflow since 2018-05-03.
Now you should use following formula:
(vcpu_hours * vcpu_hourly_price) +
(mem_hours * mem_hourly_price) +
(disk_hours * disk_hourly_price)
Additional costs for Shuffle may apply.
If you enable billing export to BigQuery it's possible and easy to compute the cost of a single Dataflow job with the query below filling in the correct values for GCP_PROJECT, BILLING_TABLE_NAME and DATAFLOW_JOB_ID. The query is:
SELECT
l.value AS job_id,
ROUND(SUM(cost),3) AS cost
FROM `$GCP_PROJECT.$BILLING_TABLE_NAME` bill, UNNEST(bill.labels) l
WHERE service.description = 'Cloud Dataflow' and l.value = `$DATAFLOW_JOB_ID`
GROUP BY 1;
You can find the value for DATAFLOW_JOB_ID in the Dataflow UI and BILLING_TABLE_NAME in the BigQuery UI. The BILLING_TABLE_NAME will be of the format gcp_billing_export_resource_$ACCOUNT_ID
NOTE: From personal experience it seems to take quite a while before the billing table is populated with the pricing information.

Updating EMV Card Parameters

Does any one know how to update Tag 5F24 (Application Expiry Date) via post issuance command that is through issuer script, and also it will be great help if i can get the list of tags which can be updated using issuer script.
Thanks in advance.
It is restricted which emv tags can be updated via Put Data script. Lets say that you somehow updated 5F24 via a security gap. Then terminals will not approve offline Authentication because 5F24 is important tag and put on SDA tag list. If extracted 5F24 from Card Certificate is different from the value in card, Offline Authentication will fail.
EMV Tags can be updated with Put Data Script.
MasterCard :
CDOL1(C7)
Lower Consecutive Offline Limit (9F14)
Upper Consecutive Offline Limit (9F23)
Default APRC Response Code (D6)
CRM Coutnry Code (C8)
Application Control(D5)
AIP(82)
CIAC-Decline
CIAC-Default
CIAC-Online
LCOTA(CA)
UCOTA(CB)
Additional Check Table(D3)
Currency Conversion Table(D1)
Visa:
Lower Consecutive Offline Limit (9F58)
Upper Consecutive Offline Limit (9F59)
Consecutive Transaction Limit International(9F53)
Consecutive Transaction Limit Int-Country(9F72)
Currency Conversion Factor(9F73)
Cumulative Total Transaction Amount Limit(9F54)
Cumulative Total Transaction Amount Upper Limit(9F5C)
No. Its Not possible(
Look into: Visa Integrated Circuit Card Specification (VIS).

form for updating google calendar

I would like to be able to automatically update gcal from a form as follows:
A. On my form I enter the name and phone number of a person I want to stay in touch with over the course of the year (jon smith 555.555.1212). I want the posting to take the name and phone number, and insert them into a MySQL table. There, they are merged with the data from another table, which consists of 3 unique sequential follow-up events that are each 28 days apart based on the form submitted date:
jon smith 555.555.1212 + call for lunch meeting (28 days from initial post date)
jon smith 555.555.1212 + email info on topic of interest (56 days from initial post date)
jon smith 555.555.1212 + call for office visit (84 days from initial post date)
This should repeat:
jon smith 555.555.1212 + call for lunch meeting (112 days from initial post date)
jon smith 555.555.1212 + email info on topic of interest (140 days from initial post date)
jon smith 555.555.1212 + call for office visit (168 days from initial post date)
B. after the data are merged into the MySQL table, I would like take the info created on the table to automatically be exported to Google calendar with reminder dates and times.
Any idea how to do this? I know how to import a CSV file to gcal manually; is it possible to do it via a PHP page with form to MySQL to gcal, or is there a more efficient way?
If it matters, I am using Godaddy as host (linux)
Did you know that there is an API?
https://developers.google.com/google-apps/calendar/
Using php you should have no problems to realise what you wish.
If you have a more specific question concerning PHP, don't hesitate to ask!
EDIT:
The Zend Framework has Google Data API support
You can even load the standalone files for the gdata API ("Other Downloads")
A Tutorial
Googles Samples page
Google-Calendar-API-PHP-Class by Montaia