A smartphone-assisted brief online cognitive-behavioral intervention for pregnant women with depression: a study protocol of a randomized controlled trial

Background Pregnancy is strongly associated with increased risk for depression. Approximately 25% of pregnant women develop depression. Treatment for depression during pregnancy has several complexities: the use of psychiatric medications during pregnancy might result in developmental problems in the child and must be used with caution. Psychosocial interventions are effective, but they require specialized professionals. Low- and middle-income countries (LMIC) such as Brazil do not have enough mental health professionals needed to meet this demand. In this context, smartphone-based interventions show immense potential. We developed Motherly, a smartphone application (app) designed to treat maternal depression. We aim to test the efficacy of Motherly in addition to brief cognitive-behavioral therapies (CBT) to treat maternal depression. Methods We will conduct a 2-arm parallel-randomized controlled clinical trial in which 70 pregnant women aged between 16 and 40 years with depression will be randomized to intervention or active control. The intervention group will have access to Motherly, a smartphone app based on three concepts: psychoeducation, behavior monitoring, and gaming elements. Motherly is composed of a package of interventions composed of modules: mental health, sleep, nutrition, physical activity, social support, prenatal/postnatal support, and educational content. The main focus of Motherly is delivering behavioral activation (BA), a brief and structured psychological treatment. The app allows participants to schedule and engage in, and monitor activities according to a plan to avoid acting exclusively according to their mood. The active control group will have access to a simplified version of the app consisting of educational content about various aspects of pregnancy, maternal physical and mental health, and infant development (BA, activity scheduling, sleep hygiene, among other functionalities, will not be present in this version). Both groups will receive four sessions of brief CBT in 8 weeks. Participants will be evaluated by assessors blind to randomization and allocation status. Assessments will occur at baseline (T0), midpoint (T1, week 4–5), posttreatment (T2, week 8), and follow-up (T3, when the child is 2 months old). Maternal mental health (prenatal anxiety, psychological well-being, perceived stress, depression, depression severity, and sleep quality), quality of life, physical activity levels, and infant developmental milestones and social/emotional problems will be measured. Our primary outcome is the change in maternal prenatal depression from baseline to posttreatment (8 weeks). Discussion The potential of digital technology to deliver mental health interventions has been increasingly recognized worldwide. There is a growing literature on interventions using smartphone applications to promote mental health, both with or without the intermediation of a mental health professional. Our study adds to the literature by testing whether an app providing an intervention package, including CBT, psychoeducation, nutrition, physical activity, and social support, can promote maternal and child health and well-being. In particular, we aim to treat depression, for which the use of digital technologies is still scarce. Smartphone applications designed to treat maternal depression are especially relevant because of the potential to circumvent barriers that prevent pregnant women from accessing mental health care. Trial registration ClinicalTrials.gov NCT04495166. Prospectively registered on July 29, 2020.


(Continued from previous page)
Discussion: The potential of digital technology to deliver mental health interventions has been increasingly recognized worldwide. There is a growing literature on interventions using smartphone applications to promote mental health, both with or without the intermediation of a mental health professional. Our study adds to the literature by testing whether an app providing an intervention package, including CBT, psychoeducation, nutrition, physical activity, and social support, can promote maternal and child health and well-being. In particular, we aim to treat depression, for which the use of digital technologies is still scarce. Smartphone applications designed to treat maternal depression are especially relevant because of the potential to circumvent barriers that prevent pregnant women from accessing mental health care.
Keywords: Maternal depression, Digital technology, Smartphone application, Cognitive behavioral therapy, Randomized controlled trial Background Depression is currently one of the leading causes of years lived with disability worldwide [1]. Studies have shown that less than a third of people diagnosed with mental disorders such as depression receive any treatment [2,3]. If left untreated, depression can lead to worsening of symptoms, the emergence of comorbidities, and loss of productivity [4,5]. Pregnant women are at an increased risk of developing depression. Studies show that approximately 13% of pregnant women will have an episode of depression [6]. In low-and middle-income countries (LMIC), the prevalence of perinatal depression is estimated to be 25%, that is, higher than in highincome countries due to various socioeconomic and environmental factors known to be more prevalent in such countries (e.g., poverty, early life abuse, interpersonal violence) [7]. In LMICs, perinatal depression is a challenging public health problem because the number of health professionals is often not sufficient to meet the high demands for screening, diagnosis, and treatment. A study conducted in the UK estimated the economic cost of maternal depression to be around £8.1 billion per year, with 72% of the costs related to child outcomes [8].
No study investigated these costs in LMICs, but it can be hypothesized to be substantially higher due to the elevated prevalence of depression and less developed health systems in these countries.
The presence of risk factors can play a major role in the onset of maternal depression. Early life abuse, intimate partner violence, low educational attainment, low socioeconomic status, lack of social support, and history of mental health problems are known to increase the risk of developing depression [7]. The effects of maternal depression are not limited to individual impairment, distress, and loss of productivity, but have shown to be associated with long-lasting negative effects on the child. Children born of depressed mothers have an increased risk of low birth weight, stunting and delayed cognitive and motor development in the first years of life, behavioral problems at 3 years of age, poor school performance, and onset of mental disorders at 6 years of age, as well as depression during adolescence and adulthood [9][10][11][12][13][14][15]. A number of highly prevalent risk factors in LMICs, such as food insecurity, adverse living conditions, and lack of sanitation, may interact with these outcomes and increase the risk of worse psychopathological and developmental trajectories. This data shows that maternal depression should be treated as a public health priority.
The treatment of maternal depression during pregnancy has many complexities. Some studies suggest that psychiatric medication with well-documented efficacy and tolerability to treat depression may have teratogenic effects [16][17][18] and should be used with caution. Psychosocial treatments have been developed and tested, demonstrating efficacy in treating maternal depression using strategies such as psychotherapy and home visiting programs [19][20][21][22]. However, even though psychosocial interventions are efficacious and safe for the child, they demand specialized health professionals, particularly scarce in the public health system. LMICs are known to have two major issues that can prevent the implementation of such interventions: insufficient workforce of mental health professionals and lack of adequate financial investment in mental health programs [23,24].
In addition, the current widespread model of screening and treatment delivery is based on the notion that patients must be aware of depressive symptoms to seek help or be referred by a health professional [25]. In the context of mental health, this model lacks scalability, reach, and affordability to deal with such a complex public health challenge. Innovative strategies must go over and beyond this model, also circumventing the lack of human and financial resources that are common in LMICs. A promising strategy with immense potential is to deliver mental health interventions via smartphones with or without the assistance of a mental health specialist. In the last years, the number of smartphone owners worldwide reached 2.5 billion, already surpassing this mark in 2020 [26]. Moreover, the global average price of smartphones is decreasing [27], quickly turning these devices into a low-cost portable computer with capabilities to deliver health interventions. Smartphones are already an integral part of everyday life, providing not only communication through voice calls and messaging, but endless possibilities, from calendars, organizers, and productivity enhancers to digital games, music, and video.
Studies have shown that mental health interventions delivered via smartphones are efficacious to treat a number of different conditions, such as depression [28,29], anxiety [30], insomnia [31], and stress [32], among others. Researchers have been successfully adapting decades-old techniques commonly used in cognitive behavioral therapies (CBT) to the context of smartphone applications (apps). However, the potential of apps in preventing and treating mental health problems among pregnant women is yet to be fulfilled.
To our knowledge, few studies have tested the efficacy of an app to reduce depression symptoms [33]. Taiwanese researchers developed a social support intervention named Line. One-hundred and twenty-six pregnant women were enrolled at 36 weeks of gestation and randomly assigned to intervention or control. Women who used the Line app showed less perceived stress and postpartum depression symptoms when compared to the control group [34]. Another study conducted in Hong Kong tested an app focused on psychoeducation named iParent [35]. The app offered numerous articles on nutrition, childcare, and vaccines, among others, as well as videos dedicated to childbirth. Also, women in the intervention group were able to ask questions via app, which in turn were responded by obstetricians. Six-hundred and sixty pregnant women were randomized to intervention or control (treatment as usual). The authors reported a small effect size of the intervention on depression symptoms measured by the Edinburgh Postnatal Depression Scale (EPDS) at followup (postnatal period).
Despite the reduced number of studies using health apps for pregnant women, between Google's Play Store and Apple's App Store, hundreds of apps can be found using search terms related to pregnancy. However, the absolute majority was not tested using rigorous scientific methods. There is a growing debate among researchers and policymakers regarding the quality evaluation and certification of health apps. Currently, most apps are not meeting the needs of patients and clinicians, especially regarding safety, efficacy, and security [36,37]. Health apps should be evaluated with the same rigor as other types of interventions, such as pharmacotherapy and psychotherapy. Given this gap in the literature, we developed Motherly, a smartphone app designed to treat maternal depression, as well as to promote maternal general mental health and infant development. We describe here the study protocol of a randomized controlled trial (RCT) designed to test the efficacy of an intervention delivered using this smartphone app in addition to brief online CBT to treat maternal depression.

Objectives and outcomes
The efficacy of the Motherly app in conjunction with brief online CBT (intervention) will be evaluated in a RCT in comparison with an app designed to offer educational content about gestation, maternal health and mental health, and child development in addition to brief online CBT (active control).
The main objective of the study is to test the efficacy of a mental health intervention delivered via smartphone application in addition to brief online CBT to reduce depressive symptoms and to promote maternal and child health and well-being in pregnant women with depression. Our primary outcome is the change in maternal prenatal depression from baseline to posttreatment (8 weeks). We will also test the efficacy of the intervention on secondary outcomes assessed during gestation: change in maternal mental health (prenatal anxiety, psychological well-being, perceived stress, depression, depression severity, and sleep quality) from baseline to posttreatment, change in maternal prenatal quality of life from baseline to posttreatment, and change in maternal physical activity levels from baseline to posttreatment. Additionally, we will conduct a postnatal follow-up when the child is 2 months of age to test the impact of the intervention on the following secondary outcomes: change in maternal mental health (postnatal depression symptoms, depression severity, anxiety, psychological well-being, perceived stress, and sleep quality) from baseline to follow-up, change in maternal postnatal quality of life from baseline to follow-up, infant developmental milestones, and social/emotional problems at 2 months of age.

Hypotheses
Participants receiving the Motherly app in addition to brief online CBT will show significantly greater reduction in symptoms of depression, as well as greater wellbeing, better overall mental health, and levels of physical activity compared with participants who receive only educational content in addition to brief online CBT. We also predict that children of mothers from the intervention group will show better development in the first 2 months of age in comparison with children from participants in the active control group.

Setting and design
We plan to conduct a 2-arm parallel-randomized controlled clinical trial (RCT). We aim to include 70 pregnant women between 16 and 40 years old. Since all interventions will be conducted online, participants will be recruited from any Brazilian state or municipality. Participants will be randomly assigned to either receive intervention via app consisting of behavioral activation (BA) and psychoeducation to promote changes in sleep, nutrition, and physical activity habits, as well as to engage in prenatal care, breastfeeding, and social support, and to stimulate child development, in addition to brief online CBT (n = 35); or to an active control group receiving an educational app with content about gestation, maternal health and mental health, and child development in addition to brief online CBT (n = 35). Duration of treatment will be 8 weeks, during which participants in both groups will be assessed at the beginning (baseline; T0), weeks 3-4 (midpoint; T1), and week 8 (endpoint; T2) in order to evaluate treatment effects. We will also conduct a follow-up postnatal assessment when the child is 2 months of age (T3).

Inclusion and exclusion criteria
We will include pregnant women with the following characteristics: (a) aged between 16 and 40 years; (b) having a score of > 7 on the Edinburgh Postnatal Depression Scale (EPDS); (c) gestational age between 17 and 26 weeks; (d) being literate; (e) owning a functional smartphone with Android for personal use. Participants will be excluded if they meet one of the following conditions: (a) pregnancies classified as being at risk (e.g., hypertension, diabetes), fetal malformation, or congenital disease, (b) visual, auditory or intellectual disabilities, or chronic diseases associated with fetal development alterations, or (c) severe and/or chronic mental illness (e.g., schizophrenia, bipolar disorder).

Recruitment and randomization
We will use social media (Facebook, Instagram) advertisements, email, and WhatsApp messages to divulge our study and recruit participants. Women interested in participating in our study will be referred to a website page where they will be provided with written information on the study's aims, procedures, and data collection. Afterwards, participants will be required to respond to an online survey containing questions related to eligibility criteria of the study. Eligible participants will be invited to a baseline assessment which will be conducted via internet or telephone. In the baseline assessment, after obtaining informed consent, the participant will be instructed to download the Motherly and register a profile with basic information. Randomization will occur automatically in real time using PHP 7 rand function at the end of registration process [38]. After the first login, the participant will already be using one of the two versions of the Motherly app (intervention or active control).
Participants cannot be blinded due to the nature of the intervention. Likewise, blinding of psychologists delivering brief online CBT will not be possible. However, all assessments will be conducted by assessors blind to randomization and allocation status.

Assessments and instruments
All assessments will be conducted via the internet (videotelephony) or telephone. Assessment instruments as well as time points at which they will be used are shown in Table 1. At baseline (T0), we will collect sociodemographic information (socioeconomic status, educational level, occupation, income) as well as frequency of use of smartphones, media, and apps. We will also conduct a comprehensive clinical assessment of maternal physical and mental health, perceived stress, personality traits, sleep quality, quality of life, physical activity frequency, and psychological well-being using the following instruments. We describe each instrument that will be used in the assessments below.
The Edinburgh Postnatal Depression Scale (EPDS), a 10-item scale developed to assess pre-and postnatal depression. It is the most used scale in studies about depression during pregnancy and the postnatal period, largely used in observational studies and clinical trials aiming to measure presence and severity of depressive symptoms. It has been validated for use in Brazil and used in multiple studies throughout the years [12,[39][40][41].
The Generalized Anxiety Disorder Scale (GAD-7) is a 7-item scale that assesses anxiety disorders. Because it is brief and simple, this scale is suitable in primary care, especially when the objective is to track anxiety problems in the population. This scale also allows dimensional measuring of anxiety via a continuous score, thus serving as a severity measure [42]. It has been validated in Brazil showing good psychometric properties [43].
The Alcohol, Smoking and Substance Involvement Screening Test (ASSIST) is a scale developed by the World Health Organization to assess abuse or dependence of alcohol, tobacco, and other substances (e.g., cocaine, benzodiazepines, stimulants) widely used in Brazil [44]. This scale allows for both dimensional and categorical assessment of problems related to substance use. We will use only the first and second items of the ASSI ST scale to assess lifetime and current substance use.
The Perceived Stress Scale (PSS) is one of the most used scales in the literature to assess general symptoms of stress. This scale has 10 items assessing the individual's perception about stress throughout the previous months using a 5-point Likert scale. It was previously translated to Brazilian Portuguese and validated [45].
Single-Item Measures of Personality (SIMP), a scale which assesses personality based on the Big Five theory, which proposed five types of personality: openness to experience, conscientiousness, extraversion, neuroticism, and agreeableness. The SIMP utilizes five descriptions designed to provide a comprehensive evaluation of desirable and undesirable aspects of each personality dimension. It is a bipolar scale, that is, each dimension has extremes (positive and negative), each with its own description. The individual assigns how much he/she fits in each bipolar dimension representing the Big Five [46]. We translated the SIMP to Brazilian Portuguese for the purpose of using in this study.
Single-item sleep quality scale (SSQS), a 1-item scale ("How would you assess the quality of your sleep?") demonstrating high correlation with classical scales for assessing sleep problems in the literature, such as the Pittsburgh Sleep Quality Index (PSQI) and the Morning questionnaire-insomnia (MQI). Examinees can choose from 0 to 10, indicating his/her perception of the quality of sleep (from bad to excellent) [47]. Since the SSQS was not available in Brazilian Portuguese, we translated the scale to use in the present study.
The short version of the International Physical Activity Questionnaire (IPAQ) assesses daily physical activity.
Twelve countries, including Brazil, participated in the validation of this scale. The IPAQ has been shown to be equivalent to other physical activity instruments and its data has been corroborated by objective measures via accelerometer, considered the gold standard in the literature [48]. Its robustness allowed for the assessment of physical inactivity in a study conducted in 17 countries with a sample of 130,000 participants [49].
The Ryff's Psychological Well-Being Scale is an instrument developed by Carol Ryff based on the Artistotelian construct of eudaimonia and state of the art psychological theories of happiness and well-being [50][51][52]. This scale assesses six dimensions that compose the state of wellbeing with 36 items: Positive Relations With Others, Autonomy, Environmental Mastery, Personal Growth, Purpose in Life, and Self-Acceptance. The Ryff's Psychological Well-Being Scale was validated in Brazil [53].
The 12-item health survey (SF-12) is a short version of the SF-36, a largely utilized scale to assess quality of life associated with health outcomes. It has a Likert scale format and assesses quality of life in two domains: physical and mental health. We used the second version of the SF-12, previously validated to the context of the Brazilian population [54]. At midpoint (T1), we will conduct a comprehensive clinical assessment of maternal physical health, and assess depression (EPDS), anxiety (GAD-7), perceived stress (PSS), and quality of sleep (SSQS), as well as prenatal and health services use.
At post-intervention (T2), 8 weeks after enrollment, we will conduct a clinical assessment with all instruments used in baseline, with the exception of the SIMP. In addition, we will administer the [55] and the Mobile App Rating Scale (MARS) [56] to assess the overall user experience of the Motherly app (intervention and active control).
At follow-up (T3), infant developmental milestones (motor, cognitive, communication/language) will be assessed when the child is 2 months old using the Survey of Wellbeing of Young Children (SWYC). Common pediatric symptoms will also be assessed using the Baby Pediatric Symptom Checklist (BPSC) section of the SWYC. The SWYC was validated in Brazil [57].
All assessments will be conducted by a team of psychologists with expertise in mental health and early childhood development with previous experiences in conducting assessment in clinical trials (NCT02807870, NCT04362098). After assessments at every time point, these professionals will be required to fill questions related to the quality of interview in terms of participant's comprehension, collaboration, and quality of internet or telephone connection. Likewise, psychotherapists will fill questions related to the quality and fidelity of intervention after each session with the participant.
In addition to assessments conducted by assessors via the internet and/or telephone, we will measure depression, sleep problems, physical activity, and diet quality bi-weekly via app throughout the RCT. Assessment of symptoms of depression and anxiety will be conducted using the Patient Health Questionnaire for Depression and Anxiety (PHQ-4), a reduced version of the PHQ-9 [58] consisting of two questions and which has been validated in Brazil [40,43,59]. Sleep problems will be assessed using the Bergen Insomnia Scale [60], which was developed based on the Diagnostic and Statistical Manual of Mental Disorders (DSM-IV) [61]. The first four items assess the difficulty to initiate sleep, maintain sleep, awaken, and non-restoring sleep, and the last two assess functional impairment associated with quality of sleep. Physical activity will be evaluated daily using step counting via smartphone accelerometer, a device that measures the acceleration or force applied on the smartphone, allowing to determine the position of the smartphone on the tridimensional space. Raw data collected by the accelerometer are then converted into human steps using computational algorithms trained by means of statistical methods [62]. Thus, it is possible to assess in real time the level of physical activity of an individual in a passive and objective way.
Step counting has been the most utilized method in recent studies on physical activity and sedentarism prevention [63,64].
All instruments were already previously translated and validated in Brazil with the exception of the SIMP and SSQS. These two instruments were translated by a professional certified translator for the purposes of the current study. We plan to use data collected in our study to verify psychometric properties of these instruments, such as internal consistency and factor structure, among others.

Intervention: motherly app + brief online CBT
The intervention group will have access to Motherly 1.0, a mobile app designed to promote life habits that have been shown to improve physical and mental health in pregnant women. The Motherly 1.0 was developed by a team of psychologists, nutritionists, and app developers to translate treatment components into a mobile platform. The Motherly app was developed using the engine Unity to take advantage of enhanced graphical effects. The app consists of a package of specific and customized interventions defined by eight different modules: (1) Mental Health; (2) Sleep; (3) Nutrition; (4) Physical activity; (5) Social support; (6) Prenatal support; (7) Postnatal support, and (8) Library of pre-and postnatal content.
The aforementioned modules were integrated into a single interface (Fig. 1a) using three main concepts: psychoeducation, behavior monitoring, and gamification elements. Psychoeducation is delivered in four ways: (a) tutorials explaining the rationale for the intervention and showing how to use each module; (b) psychoeducational content related to health and pregnancy delivered as brief notifications and available in a library that can be read at the users' discretion; (c) brief troubleshooting messages, which are suggestions of strategies to overcome difficulties with BA activities. Behavior monitoring is promoted using schedules, checklists, and notifications to help participants keep track of their health care visits, and schedule activities that have been associated with prevention and/or reduction of depressive symptoms. Gamification elements, defined as the use of game design elements in non-game contexts to engage users in problem-solving-behavior, are available to maintain and motivate healthy behaviors. Gamification elements are based on the psychology of motivation, behavior analysis, and game design theory [65,66]. Specifically, the Motherly 1.0 app uses resources such as changes in the appearance of the background and icons so as to reflect participant's mood assessment (described below) and ratings of activities, and graphical and easy-to-use questionnaires for obtaining information (mood, nutritional habits). These elements, along with psychoeducational messages and user's responses, act as a reinforcement for app utilization.
In what follows, we provide descriptions of all modules as well as the rationale for developing them.
Mental health This module is an adapted and automated version of BA, a brief and structured psychological treatment based on behavioral theories of depression [67,68]. According to these theories, depression is associated with complex interactions between individual and environmental vulnerabilities, a lack of reinforcement for nondepressed behaviors, and increased escape/avoidance behaviors that maintain depressive behaviors [69]. BA assumes that depressive symptoms might be alleviated by engaging patients in behaviors that they will ultimately find productive or pleasurable, or that might improve their life situations providing greater rewards. Therefore, BA is action-oriented and focused on problem-solving, which requires patients to test new ways of behaving in daily situations and in different areas of their lives. Specifically, BA focuses on promoting behavioral change to diminish depressive symptoms by (a) engaging patients in positively reinforced behavior (which in many cases consists in involving in activities resulting in experiences of mastery and/or pleasure), (b) decreasing avoidance/escape behaviors that maintain depression, and (c) improving problem-solving skills in order to increase access to reward and prevent depressive symptoms [69]. Decades of clinical research supports the efficacy of BA to treat depression in general populations [70][71][72][73][74] with some studies showing comparable efficacy relative to antidepressant medication [75][76][77] or more complex forms of psychotherapy [78]. In two studies, BA has been shown to be as effective as antidepressant medication in treating depressive symptoms but with superior retention [79] and enduring effects over a 2-year follow-up [77]. Given its simplicity, BA has been successfully delivered by nonspecialists [80,81], as well as via internet, computer, or smartphone [29,82,83]. In a recent RCT, BA was effective in diminishing depressive and symptoms, as well as perceived stress in pregnant women [75].
Based on two manualized versions of BA [84,85], the mental health module was designed to assist users to (1) Psychoeducation: Users have access to an animated video tutorial presenting the BA rationale, specifically, explaining the connections between thoughts, actions, and feelings, and the ways in which they interact (Fig. 1b). Users are also shown how to use this module by means of a written tutorial. Brief psychoeducational messages are also used to provide users with information on inherent difficulties to engage in activities and common strategies to overcome them (problem-solving suggestions).
(2) Activity scheduling: Users can schedule activities in three main life areas: recreation, relationship, and productivity (i.e., activities related to the daily routine, career, education, and health, including activities related to other modules within Motherly, as described ahead) (Fig. 1c). The app has a list of suggestions for activities that can be edited to fit the users' needs. When generating (or editing) activities, users have an option to insert a brief sentence describing a motivation to engage in that particular activity ("This activity is important to me because …" ). Like the activities, the app provides an initial editable list of suggestions for motivations. The lists of suggestions for activities and motivations were developed based on the Brief Behavioral Activation Treatment for Depression: Revised Treatment Manual (BATD-R) [85] manual as well as on the clinical experience from one of the authors (PFZ) with depressive patients and aimed at increasing the likelihood that users choose activities that are actually reinforcing and objective (e.g., "buying clothes for my baby," "message my friend"), avoiding general objectives that are too hard or cannot be attained in the short term (e.g., "feeling better about myself," "be a great mother"). Therefore, activity lists contain activities that are time-limited, preferably observable by others.
Motivations are made available so that users choose activities that are closely linked with values, ideals, or qualities they think are important. Considering the difficulty that some patients have to complete planned activities, the Motherly also has an option to insert the contact and/or name of a person that could support in completing the activity.
(3) Activity engagement and problem-solving: Activities can be organized in a calendar. When users register activities as completed they are prompted to evaluate their sense of mastery and the difficulty to complete the activities. When participants register activities as not completed, the app provides brief troubleshooting psychoeducational messages. Specifically, participants can choose a list of reasons for not completing the activity, which will be followed by a brief and specific suggestion of strategy to overcome that difficulty. The lists of suggestions for strategies were created based on common recommendations that clinicians give patients when they face difficulties in pursuing therapeutic goals in a BA context.
(4) Mood assessments: Users are prompted to report their mood bi-weekly by means of completing an abbreviated version of PHQ. Users also have the option to complete abbreviated mood assessment whenever they want.
(5) Behavior monitoring: Responses to mood assessments are available in a graph to allow users to monitor their progression. The x-axis is time and the y-axis the scores (Fig. 1d). Modifications in the background color app's icons are also used to help users to keep track of their progress.
(6) Reinforcement for module utilization: Gamification elements such as changes in the appearance of the app so as to reflect participant's mood assessment, as well as psychoeducational messages, are sent to motivate app utilization. Color saturation is increased (less symptoms) or decreased (more symptoms) depending on self-reports.
Sleep This module was designed based on two techniques that are frequently part of CBT protocols for insomnia: sleep hygiene and relaxation [86]. Sleep hygiene (SH) is a psychoeducation-based intervention in which patients are provided information about lifestyle (diet, exercise, substance use), environmental (temperature, noise, light), and behavioral (e.g., the time spent lying in bed) factors that might interfere or promote better sleep [86,87]. SH has been shown to improve sleep quality in adults with insomnia [88] and has already been shown to be effective when delivered via apps [31]. Relaxation techniques consist in procedures that decrease somatic and cognitive arousal. These procedures are especially useful for onset insomnia, since some level of arousal is present in the majority of these cases [89]. Relaxation techniques described in Motherly were based on progressive muscular relaxation (PMR) and deep breathing, which have been shown to improve sleep in multisite clinical trials with pregnant women and young mothers [90,91]. PMR involves alternately tensing and relaxing different muscle groups while patients are instructed to focus and compare feelings of relaxation and tension [92,93]. Deep breathing aims to direct the patient's attention to breathing rhythm in order to diminish arousal [86]. Motherly users have access to sleep hygiene and relaxation procedures that are presented in the form of short audio explanations along with brief texts and visual stimuli to guide users throughout each technique (Fig. 1e).
Nutrition (Fig. 1f) Healthy nutrition during pregnancy is critical to maternal health and fetal development [94] and can also influence the onset of long-term diseases [95]. In addition, having good eating habits makes it easier for pregnant women to gain weight within the recommended limits [96], which is associated with better maternal and infant outcomes [97]. Diet can also influence mental health [98,99] and evidence suggests that increasing consumption of fruits, vegetables, legumes, whole grain cereals, healthy fats, such as nuts and seeds, and lean proteins, including fish is associated with a reduced risk for depression [100]. Therefore, the aims of the nutrition module are to improve nutritional habits and to promote healthy gestational weight gain. The intervention includes self-monitoring, feedback feature, and push notifications. Diet and weight gain are reported by the user at baseline and every 30 days until delivery, which will be followed by tailored feedback in the form of text messages. Information about dietary habits will be derived from a short food frequency questionnaire, consisting of 14 items developed for the study based on the current food guide for the Brazilian population [101] and the guide for pregnant women from the Brazilian Ministry of Health [102]. There are 13 food groups: total grain/ cereal/roots and tubers, whole grain/cereal, vegetables, dairy products, artificial juices/soft drinks, fast-food/ processed foods/salty snacks, fruits; beans, oils, nuts/ seeds, fish, meat/eggs, sugar/sweets, and one item about alcoholic beverages. The questions about the frequency of consumption of these food groups will be asked regarding the week prior to assessment, and the answer options are "every day," "5-6 times per week," "2-4 times per week," "1 time per week," and "never." The feedback feature and push notifications provided are also consistent with the current food guide for the Brazilian population [101] and the guide for pregnant women from the Brazilian Ministry of Health [102]. According to these guidelines, the basis of the diet should come from fresh or minimally processed foods avoiding ultra-processed foods. Some food groups need to be consumed daily for a healthy diet (i.e., fruits, vegetables and legumes, dairy products, among others), and other food groups should be avoided (i.e., artificial juices/soft drinks, fast-food/processed foods/salty snacks, among others). Based on the aforementioned recommendations and on the answers provided, they will receive a score for each component after answering the questionnaire: (10) maximum score (reached the recommendation), (5) average score, (0) minimum score (far from reaching the recommendation). The maximum score is 140 representing 100% of adequacy. A score above 80% will be considered "good quality diet," between 50 and 79% considered "need of some improvements" and below 50%, "need of deep improvements." In addition to the final score, participants will also receive tailored feedback in text format for each component that did not reach the recommendation. Participants can also self-monitor food intake by answering a 24-h food recall based on food groups whenever they wish.
Regarding gestational weight gain, participants will be asked about their pre-gestational weight and height at baseline. Pre-pregnancy body mass index (BMI) will be calculated and the recommended weight gain range will be individually provided according to the Institute of Medicine classification [103]. Weight self-monitoring consists of reporting current weight, and weight gain is presented graphically. We will also analyze gestational weight gain within the Institute of Medicine-recommended levels by using the suggested weekly gains in body weight during the second and third trimesters of pregnancy [103].
Physical activity (Fig. 1g) Regular physical activity promotes several health benefits [104]. High levels of physical activity (including both recreational and non-recreational) were associated with a lower risk of mortality and cardiovascular disease events in individuals from low-income, middle-income, and high-income countries [49]. During pregnancy, an exercise program has been shown to reduce the prevalence of depression in late pregnancy and postpartum [105]. However, a recent study including 358 surveys across 168 countries (1.9 million participants) identified a global age-standardized prevalence of insufficient physical activity of 27.5% [106].
According to the American College of Obstetrician and Gynecologists (ACOG), pregnancy is an ideal time for keeping or adopting a healthy lifestyle and women with uncomplicated pregnancies are encouraged to take part in aerobic and strength-conditioning exercises before, during and after pregnancy [107]. Besides promoting benefits related to physical health outcomes of mother and child, such as reduced risk of excessive gestational weight gain, lower likelihood of gestational diabetes mellitus, and lower likelihood of delivering a large-for-gestational-age infant [108], regular physical activity during pregnancy is also related to enhancing psychological well-being and may reduce the prevalence of depression in late pregnancy and postpartum [105].
The current recommendation for pregnant women is at least 20-30 min per day of moderate-intensity exercise every day or most days of the week (the same recommendation of at least 150 min per week for adults), and the exercise program should be adjusted as medically indicated [107]. Physical activity can be measured by objective monitoring using a pedometer or accelerometer. Pedometer use has been associated with increased physical activity in adults [109]. Some guidelines specifically recommend taking at least 10,000 steps per day as a sufficient physical activity for adults [64].
This intervention aims to encourage physical activity by monitoring steps via accelerometer and, subsequently, propose an increase in the average number of steps by walking. First, pregnant women are informed about the recommendations and benefits of regular physical activity during pregnancy. Then, they are invited to participate in the intervention. To avoid potential harm, exclusion criteria for the module are the following: (1) multiple pregnancy; (2) those with pre-gestational BMI < 12 kg/m 2 or > 40 kg/m 2 ; (3) known medical or obstetric complications which restrict physical activity.
The smartphone accelerometer will be used to assess the number of daily steps. After completing the first week, users will receive feedback about their level of physical activity according to the average number of steps for the first 7 days: sedentary (< 5000 daily steps), low active (5000 to 7499 daily steps), somewhat active (7500 to 9999 daily steps), and active (≥ 10,000 daily steps) [64]. Women will be encouraged to increase their steps by 10% each week until reaching 10,000 steps/day. Women who achieve the 10,000 steps will be encouraged to continue their activity level and no further increases will be proposed.
Pregnant women will be able to self-monitor their daily number of steps. At the end of each week, the weekly average of daily steps will be presented. A tailored feedback will be provided according to the user's prescheduled weekly step goal, and a new goal will be established for the following week. The evolution will be graphically shown. If the pregnant woman is unable to meet her goal for at least three consecutive weeks, support will be provided considering the possible reasons that may have led to this situation and some ideas to circumvent the problems will be provided. For example, if the participant select the option "I don't know how to increase my number of steps," an answer will be provided: "How about starting to change small details in your daily life, such as, whenever possible, choosing stairs instead of elevator, going to nearby places on foot, extending the walk with your pet, enjoying sunny days to make pleasant walks on the street, among others." Social support (Fig. 1h) Social support is known to be associated with morbidity and mortality [110]. During pregnancy, lack of social support is an important risk factor for maternal depression and low birth weight [111]. Interventions focused on increasing social support are known to have an effect on decreasing symptoms of depression [112]. Therefore, users will be able to make available their social media contacts in a list displayed in the app. This list can be used to contact other users.
Prenatal support (Fig. 1i) In line with evidence showing that an adequate prenatal care can reduce child mortality and prevent several neonatal problems [113], Motherly provides a calendar to assist users in planning checkups from their doctors and prenatal exams according to current international guidelines [114]. Users receive notification to update their calendars, as well as register whether any health conditions have been diagnosed, thereby increasing the likelihood of receiving adequate prenatal care.
Postnatal support (Fig. 1j) After child birth, users receive notifications describing the benefits of breastfeeding to child development and are prompted to say whether they are able to breastfeed their babies. They can register whether they are having difficulties breastfeeding, in which case the app provides a list of suggestions for solving potential issues.
Library of pre-and postnatal content The Motherly app has a comprehensive collection of educational content. These brief articles have content related to depression and anxiety, nutrition, fetal development, breastfeeding, sleep, physical activity, among others, and can be consulted by users at their discretion.
Throughout the 8 weeks of treatment, participants in the intervention group will undergo brief online CBT with a focus on BA in four sessions. More specifically, psychotherapists will help participants to use Motherly's functionalities that were developed to implement BA, that is, schedules, activity planning, hierarchization of activities according to their level of difficulty, selection of motivations for each activity, and use of problemsolving suggestions. In addition, they will help navigate the app and use other modules. Throughout the four sessions, psychotherapists will monitor participants' adherence, answering questions about the strategies and providing support for solving problems or circumventing barriers to completing scheduled activities. CBT techniques such as cognitive restructuring, relaxation techniques, sleep hygiene, stress and anxiety management, among other evidence-based techniques might be used if appropriate to treat depression and possible comorbidities. The general structure of the sessions will be based on a guide developed by the authors (DF and PFZ) to help psychotherapists select CBT interventions that are adequate for each participant.
Active control: educational app + brief online CBT Participants allocated to the active control group will have access to a simplified version of the app consisting of educational content about various aspects of pregnancy, maternal physical and mental health, and child development. Active intervention functionalities, such as behavioral activation, activity scheduling, and sleep hygiene, among others, will not be present in this simplified version. As with the intervention group, participants from the active control group will receive app notifications to answer questions related to the outcomes of this study. The active control group will also receive four sessions of brief online CBT throughout the 8 weeks, with a focus on BA. They will be guided by psychotherapists to plan, schedule, and engage in positively reinforcing activities, and will be aided to develop problemsolving strategies for circumventing barriers to completing scheduled activities. However, implementation of these techniques will be conducted without the aid of the Motherly app (as these functionalities are not present in the active control app). Throughout the four sessions, psychotherapists will monitor participants' adherence, answering questions about the strategies and providing support for solving problems or CBT techniques, such as cognitive restructuring, relaxation techniques, sleep hygiene, stress and anxiety management, among other evidence-based techniques might be used if appropriate to the case. The structure of the sessions will also follow the guide mentioned previously.

Sample size
We calculated the sample size based on an expected effect size of 0.65 on depressive symptoms, which is based on a previous meta-analysis [115] (difference in means between two independent groups) considering a probability of type I error of 5%, statistical power of 80%, a two-tailed test, and a dropout rate of 15%.

Statistical analyses
First, continuous variables will be described using central tendency measures and categorical variables will be described using frequencies and cross tabulations. To analyze the potential impact of the intervention on depression symptoms, we will use an intention-to-treat (ITT) approach. To perform ITT analyses, we will use multiple imputation by chained equations to include every participant randomized. The effects of intervention on maternal depression (primary outcome) and secondary outcomes will be tested using generalized linear models. Estimated marginal means will be extracted from these models to describe primary and secondary outcomes of the study for both groups. Marginal means will be used to plot data. Additionally, we will investigate the potential role of moderators (baseline characteristics, such as socioeconomic aspects and personality traits) of the treatment effect on outcomes using a regressionbased approach [116]. Standardized effect sizes will be calculated from the difference between group means using criteria described by Cohen [117]. Tests will be considered significant at p < 0.05 and 95% confidence intervals will be reported for all parameters. All analyses will be conducted using STATA 16 and R.

Data safety
All data from the assessments as well as clinical records from CBT sessions will be entered electronically via Research Electronic Data Capture (REDCap) [118], thereby ensuring safety of the data and protections of participants' information.

Harms
Given that the intervention in this study is non-invasive, the risk for participants can be considered marginal. Participants will be informed that questions in the assessment protocol might cause some level of subjective discomfort, but that they are not obliged to answer them and will still continue in the study and receive treatment even if they choose not to answer them. Irrespective of the group to which participants will be allocated, they will benefit from receiving brief online CBT by a mental health expert, which can potentially alleviate symptoms of depression or anxiety.

Staff
All assessments will be conducted by a team of psychologists with expertise in mental health and early childhood development with experience in clinical trials. Assessors will receive training sessions with a focus on presenting study details, as well as in-depth explanations of all instruments used. Brief online CBT will be delivered by female psychologists with a certified specialization in CBT and previous experience in treating depression. In order to ensure fidelity and quality of treatment, psychotherapists will receive weekly supervision by a senior doctorate level clinical psychologist (PFZ) with clinical background in CBT and BA.

Trial management
This trial is monitored by three committees: a Trial Coordinating Centre, a Trial Steering Committee, and the Ethics Committee of the University of Sao Paulo Medical School. The Trial management committee is composed of the principal investigators, trial managers, and research team leads, who meet weekly to coordinate and monitor the progress of the trial, and to ensure that the protocol is adhered to. This committee is also responsible for monitoring and reporting to other committees any adverse event (and taking action to ensure safeguard of participants), as well as ensuring quality of the trial.
The Trial Steering Committee is composed of senior researchers from our group (GVP, AM, and DF) and meet once a month to oversee the trial, ensure that it is conducted according to the protocol, and monitor its progress regarding recruitment and retention of participants, the appearance of adverse events and actions needed to ensure safeguard of participants, and adherence to the timeline of the study. This committee is also responsible for making decisions about the continuation, modification, or termination of the study. If this committee decides to make modifications in the trial, these will only be carried out with approval from the Ethics Committee, in which case sponsors will be notified and the protocol will be updated in the clinical trial registry. The Trial Steering Committee also meets with sponsors every six months to report on the status of trial.
The Ethics Committee of the University of Sao Paulo Medical School is responsible for reviewing all procedures involved in this trial, assessing its relative risks, and determining the guidelines as to what action should be taken to ensure safeguard of participants. This board also reviewed and approved study protocols and informed consent prior to data collection. Since this intervention is considered low risk, no periodic meetings were considered. However, other meetings might be scheduled if any adverse event occurs, or in the event that the trial steering committee decides to make amendments to the trial protocol.
Given that this intervention was rated by the Ethics Committee as low-risk, no Data Monitoring Committee was considered.

Ethical issues and dissemination
Throughout the study, both intervention and active control groups will be assessed for symptoms of depression, anxiety, sleep, and dietary patterns via app. These data will be available to researchers in real time for monitoring purposes if participants need to be referred to specialized care due to severe symptoms of depression or suicidal ideation. In these cases, participants will be contacted by internet or telephone.
During treatment, participants will be referred to specialized care in case depression symptoms worsen to serious, with suicidal ideation, functional impairment, and appearance of psychotic symptoms, among others.
Participants presenting mental health issues associated with the COVID-19 pandemic and/or social distancing will be treated with psychological first care techniques adequate to stress-related symptomatology due to adverse conditions [119]. At the end of 8 weeks, participants who do not show remission of symptoms of depression will be referred to specialized mental health services.

Trial registration and status
This is a protocol version 1.0, registered on 29th July 2020. Recruitment began August 2020 and ended October 2020. Primary outcome assessment was completed December 2020. Follow-up assessments have begun January 2021 and are anticipated to end by May 2021. Detailed information on the trial register is presented in Table 2.

Discussion
The potential of digital technology to deliver mental health interventions has been increasingly recognized worldwide [120]. There is a growing literature on interventions using smartphone applications to promote mental health, both with [121,122] or without the intermediation of a mental health professional [31]. Our study adds to the literature by testing whether an app providing an intervention package, including CBT, psychoeducation, nutrition, physical activity, and social support, can promote maternal and child health and well-being. In particular, we aim to treat depression, a condition which is associated with negative outcomes in both the mother and the offspring [123][124][125] and for which the use of digital technologies is still scarce. Smartphone applications designed to treat maternal depression are especially relevant in LMICs, such as Brazil, as they have the potential to circumvent barriers that prevent pregnant women to access mental health care, namely, the lack of specialized professionals and economic resources [120].
Despite the evident potential of our study, some challenges and limitations need to be acknowledged. First, behavioral activation, one the main components of this intervention, is a treatment which includes two aspects that are challenging to translate into the scope of an app: (1) the customization of goals and activities in order to meet the specific needs of individual patients, since what is a positive reinforcer for behavior usually vary from one individual to the other, and (2) the need to help patients develop problem-solving strategies to overcome difficulties in achieving these goals [69,84,85]. To face these challenges, the app was designed to allow for the customization of the activities (so as to meet individual needs), as well as the insertion of brief sentences describing the motivation for involving in a given activity.
The aim of this functionality is to increase the chances of users choosing activities that are actually reinforcing and minimally objective, avoiding general objectives that cannot be attained. A list of brief troubleshooting psychoeducational messages was also developed based on common recommendations that clinicians give patients when they face difficulties in pursuing therapeutic goals within BA settings. This list can be accessed by patients when they register activities as not completed.
Finally, we chose to use brief CBT in addition to the app so as to ensure that these functionalities are properly used by participants. Aside from increasing treatment quality, psychotherapist monitoring of participants' app usage will allow us to identify which of these Key secondary outcome(s) Change in maternal prenatal anxiety from baseline to posttreatment Change in maternal prenatal quality of life from baseline to posttreatment Change in maternal prenatal psychological well-being from baseline to posttreatment Change in maternal physical activity levels from baseline to posttreatment Change in maternal prenatal perceived stress from baseline to posttreatment Change in maternal prenatal depression severity from baseline to posttreatment Change in maternal prenatal sleep quality from baseline to posttreatment Infant developmental milestones at 2 months of age functionalities are actually helpful and provide insights as to how we could improve them to be self-sufficient. Testing the Motherly app in addition to CBT was also based on an ethical decision, since offering an app without previous evidence of efficacy to depressed women without assistance could potentially do harm. Data derived from the present study will allow us to develop and deliver a more complete and definitive version of Motherly designed to be used by pregnant women without assistance of mental health professionals, potentially being an intervention to treat mild and moderate cases of depression. This new version will be key to reaching scalability of a low-cost intervention.
Due to the fact that the RCT will be conducted during the coronavirus pandemic in Brazil, all contact with participants, including assessments and CBT sessions, will be exclusively online and/or by phone. Given the heterogeneity in infrastructure between regions within the country, it is possible that assessors will face connection issues. In these cases, some CBT sessions and assessments might have to be conducted by phone, which might be challenging to establish rapport or more difficult to conduct assessments without visual cues. In the case of CBT, staff will be trained to reinforce therapeutic alliances in the first session to prevent dropout rates associated with poor internet connection and adherence issues associated with a lack of facial contact with the therapist.
One last challenge is related to adherence to treatment. A recent meta-analysis found that the mean dropout rate in RCTs testing smartphone apps targeting depressive symptoms is 26.8% and can increase up to 47.8% when accounting for publication bias [126]. These attrition rates are higher than the ones found for individual psychotherapy for depression (19.9%) [127] and might represent a threat to the assessments of the efficacy of app-based interventions. However, this same meta-analysis found that integrating a human component, for example, when the app involved human feedback, and that integrating mood monitoring in the platform diminish these dropout rates considerably (from 47.8% to approximately 18% and 11% respectively) [126]. Both strategies have been included in our study protocol, as participants will have the aid of a mental health professional, and bi-weekly mood assessments. Moreover, to increase the likelihood that participants will keep using the app, we have introduced gamification elements, as well as an easy-to-use interface, and conciseness of texts to fit social media style. We expect that these strategies will increase adherence, allowing an objective analysis of minimum dose necessary for treatment response. We also expect to analyze which of these gamification elements are the most engaging in order to improve future versions of the app. Authors' contributions PFZ is responsible for the development of the Motherly 1.0 functionalities, helped design the study, coordinates the team of psychologists delivering the intervention, and wrote the paper. MOX is responsible for the development of the Motherly 1.0 functionalities and revised the manuscript critically. AM helped in the design of the study and revised the manuscript critically. GVP worked in the development of the study and revised the manuscript critically. DF is responsible for the design and coordination of the study, as well as the development of the Motherly 1.0 functionalities, and writing of the manuscript. All authors read and approved the final manuscript.

Funding
This project is funded by grants from the Saving Brains program from Grand Challenges Canada (grant number SB-POC-1810-20573) and Fundação Maria Cecilia Souto Vidigal. None of the project partners involved in the trial has a potential conflict of interest to declare. None of these funding sources had involvement in the study design or collection of data, or in the decision to submit this article for publication, nor will have involvement in the analysis, and interpretation of the data, or in the writing of the final report and the decision to submit it for publication.

Availability of data and materials
Any data required to support the protocol can be supplied on request. The datasets analyzed during the current study are available from the corresponding author on reasonable request.

Declarations
Ethics approval and consent to participate This study has been approved by the ethics committee of the University of Sao Paulo Medical School (reference number: 3371750). All participants will be required to provide informed consent. In cases where participants are under age, legal guardians will be required to sign informed consent after participants agree to participate in the study. Informed consent form can be obtained from the corresponding author on request.

Consent for publication
Not applicable.

Competing interests
The authors declare that they have no competing interests.